123456789101112131415161718192021222324252627 |
- using InABox.Core;
- namespace Comal.Classes
- {
- public class JobTrackerLookups : EntityLookup<JobTracker>
- {
- public override Columns<JobTracker> DefineColumns()
- {
- return Columns.None<JobTracker>().Add(
- x => x.ID,
- x => x.JobLink.JobNumber,
- x => x.JobLink.Name,
- x => x.Gate
- );
- }
- public override Filter<JobTracker> DefineFilter()
- {
- return null;
- }
- public override SortOrder<JobTracker> DefineSortOrder()
- {
- return new SortOrder<JobTracker>(x => x.JobLink.JobNumber).ThenBy(x => x.Gate);
- }
- }
- }
|