using System; using InABox.Core; using InABox.Mobile; namespace PRS.Mobile { public abstract class DigitalFormInstanceModel : CoreRepository where TModel : CoreRepository where TShell : Shell, new() where TEntity : Entity, IRemotable, IPersistent, IDigitalFormInstance, new() { protected DigitalFormInstanceModel(IModelHost host, Func> filter) : base(host, filter) { } protected override Filter BaseFilter() => new Filter(x => x.FormCancelled).IsEqualTo(DateTime.MinValue); } }