12345678910111213141516 |
- using InABox.Core;
- namespace Comal.Classes
- {
- public class EmployeeForm : EntityForm<Employee, EmployeeLink>, IDigitalForm<Employee>
- {
- }
- public class EmployeeFormLookups : ILookupDefinition<DigitalForm, EmployeeForm>
- {
- public Filter<DigitalForm> DefineFilter(EmployeeForm[] items)
- {
- return new Filter<DigitalForm>(x => x.Active).IsEqualTo(true).And(x => x.AppliesTo).IsEqualTo("Employee");
- }
- }
- }
|