QuoteDesignSectionLookups.cs 589 B

1234567891011121314151617181920212223
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class QuoteDesignSectionLookups : EntityLookup<QuoteDesignSection>
  5. {
  6. public override Columns<QuoteDesignSection> DefineColumns()
  7. {
  8. return base.DefineColumns()
  9. .Add(x => x.Description);
  10. }
  11. public override Filter<QuoteDesignSection> DefineFilter()
  12. {
  13. return null;
  14. }
  15. public override SortOrder<QuoteDesignSection> DefineSortOrder()
  16. {
  17. return new SortOrder<QuoteDesignSection>(x => x.Description);
  18. }
  19. }
  20. }