IListModel.cs 515 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using InABox.Core;
  4. namespace comal.timesheets
  5. {
  6. public interface IListModel : IModel
  7. {
  8. }
  9. public interface IListModel<TParent, TItem, TEntity> : IListModel
  10. where TParent : IListModel
  11. where TEntity : Entity, IRemotable, IPersistent, new()
  12. where TItem : Shell<TParent,TEntity>, new()
  13. {
  14. IList<TItem> Items { get; set; }
  15. IListModel<TParent, TItem, TEntity> Refresh(bool force);
  16. }
  17. }