123456789101112131415161718192021222324252627 |
- using System;
- using System.Linq;
- using InABox.Core;
- namespace Comal.Classes
- {
- public class JobStageLookups : EntityLookup<JobStage>
- {
- public override Filter<JobStage> DefineFilter()
- {
- return new Filter<JobStage>(x => x.ID).IsEqualTo(Guid.Empty);
- }
- public override Columns<JobStage> DefineColumns()
- {
- return Columns.None<JobStage>().Add(
- x => x.ID,
- x => x.Name
- );
- }
- public override SortOrder<JobStage> DefineSortOrder()
- {
- return new SortOrder<JobStage>(x => x.Sequence);
- }
- }
- }
|