1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Linq;
- using InABox.Clients;
- using InABox.Core;
- namespace Comal.Classes
- {
- public class ContactLookups : EntityLookup<Contact>
- {
- public override Columns<Contact> DefineColumns()
- {
- return new Columns<Contact>(
- x => x.ID,
- x => x.Name,
- x => x.Email
- );
- }
- public override Filter<Contact>? DefineFilter()
- {
- return null;
- }
- public override SortOrder<Contact> DefineSortOrder()
- {
- return new SortOrder<Contact>(x => x.Name);
- }
- }
- }
|