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