1234567891011121314151617181920212223 |
- using System;
- using InABox.Core;
- namespace comal.timesheets
- {
-
-
-
- public interface ISingleDataModel<TEntity, TItem> : ICoreDataModel
- where TEntity : Entity, IRemotable, IPersistent, new()
- where TItem : CoreDataModelItem, new()
- {
- TItem Item { get; set; }
-
- void BeforeLoad(MultiQuery query, Guid id);
-
- void AfterLoad(MultiQuery query, Guid id);
-
- void Load(Guid id, Action loaded = null);
-
- void Load(TEntity entity, Action loaded = null);
- }
- }
|