1234567891011121314151617 |
- using System;
- using System.Collections.Generic;
- using InABox.Core;
- namespace comal.timesheets
- {
- public interface IListDataModel<TEntity, TItem> : ICoreDataModel
- where TEntity : Entity, IRemotable, IPersistent, new()
- where TItem : CoreDataModelItem, new()
- {
- IList<TItem> Items { get; set; }
-
- void BeforeLoad(MultiQuery query, Filter<TEntity> filter);
- void AfterLoad(MultiQuery query, Filter<TEntity> filter);
- void Load(Filter<TEntity> filter, Action loaded = null);
- }
- }
|