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 = null, Func? cachefilename = null) : base(host, filter, cachefilename) { } protected override Filter BaseFilter() => new Filter(x => x.FormCancelled).IsEqualTo(DateTime.MinValue); } }