CostSheetSectionLookups.cs 656 B

123456789101112131415161718192021222324252627
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class CostSheetSectionLookups : EntityLookup<CostSheetSection>
  5. {
  6. public override Columns<CostSheetSection> DefineColumns()
  7. {
  8. return Columns.None<CostSheetSection>().Add(
  9. x => x.ID,
  10. x => x.Code,
  11. x => x.Description
  12. );
  13. }
  14. public override Filter<CostSheetSection> DefineFilter()
  15. {
  16. return null;
  17. }
  18. public override SortOrder<CostSheetSection> DefineSortOrder()
  19. {
  20. return new SortOrder<CostSheetSection>(x => x.Sequence);
  21. }
  22. }
  23. }