123456789101112131415161718192021222324252627282930313233 |
- namespace Comal.Classes
- {
- }
- //public class JobZoneLookups : ILookupDefinition<JobZone>, ILookupDefinition<JobZone, ManufacturingPacket>
- //{
- // public Columns<JobZone> DefineColumns()
- // {
- // return new Columns<JobZone>(
- // x => x.ID,
- // x => x.Code,
- // x => x.Description
- // );
- // }
- // public Filter<JobZone> DefineFilter()
- // {
- // return new Filter<JobZone>(x => x.ID).IsEqualTo(Guid.Empty).And(x => x.ID).IsNotEqualTo(Guid.Empty);
- // }
- // public Filter<JobZone> DefineFilter(ManufacturingPacket[] items)
- // {
- // if (items.Length == 1)
- // return new Filter<JobZone>(x => x.Job.ID).IsEqualTo(items.First().SetoutLink.JobLink.ID);
- // return DefineFilter();
- // }
- // public SortOrder<JobZone> DefineSortOrder()
- // {
- // return new SortOrder<JobZone>(x => x.Description);
- // }
- //}
|