| 1234567891011121314151617181920212223242526272829 | 
							- using System;
 
- using InABox.Core;
 
- namespace Comal.Classes
 
- {
 
-     public class ConsignmentLookups : EntityLookup<Consignment>
 
-     {
 
-         public override Columns<Consignment> DefineColumns()
 
-         {
 
-             return new Columns<Consignment>
 
-             (
 
-                 x => x.ID,
 
-                 x => x.Number,
 
-                 x => x.Description,
 
-                 x => x.EstimatedWarehouseArrival
 
-             );
 
-         }
 
-         public override Filter<Consignment> DefineFilter()
 
-         {
 
-             return new Filter<Consignment>(x => x.Closed).IsEqualTo(DateTime.MinValue);
 
-         }
 
-         public override SortOrder<Consignment> DefineSortOrder()
 
-         {
 
-             return new SortOrder<Consignment>(x => x.Number);
 
-         }
 
-     }
 
- }
 
 
  |