QAFormLookups.cs 612 B

12345678910111213141516171819202122232425
  1. using System;
  2. namespace InABox.Core
  3. {
  4. [Obsolete("Being Replaced with DigitalFormLookups", true)]
  5. public class QAFormLookups : EntityLookup<QAForm>
  6. {
  7. public override Columns<QAForm> DefineColumns()
  8. {
  9. return base.DefineColumns()
  10. .Add(x => x.Description)
  11. .Add(x => x.AppliesTo);
  12. }
  13. public override Filter<QAForm> DefineFilter()
  14. {
  15. return null;
  16. }
  17. public override SortOrder<QAForm> DefineSortOrder()
  18. {
  19. return new SortOrder<QAForm>(x => x.Description);
  20. }
  21. }
  22. }