using System; using System.Collections.Generic; using System.Linq; using Quadarax.Foundation.Core.Data.Interface.Entity; namespace Quadarax.Foundation.Core.Data.Interface.Repository { public interface IDaoRepository : IRepository where TDao : IDao where TKey : IEquatable { public IQueryable Query(IPaging paging); public TDao Get(TKey id); public IQueryable Get(IEnumerable ids); public TDao Set(TDao entity); public IEnumerable Set(IEnumerable entities); public TDao New(); public bool Remove(TKey id); public IEnumerable Remove(IEnumerable ids); public bool Remove(TDao entity); public IEnumerable Remove(IEnumerable entities); } }