|
|
@ -1,11 +1,15 @@ |
|
|
using System.Linq; |
|
|
using System; |
|
|
|
|
|
using System.Linq; |
|
|
|
|
|
using System.Linq.Expressions; |
|
|
using Volo.Abp.Domain.Entities; |
|
|
using Volo.Abp.Domain.Entities; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.Domain.Repositories |
|
|
namespace Volo.Abp.Domain.Repositories |
|
|
{ |
|
|
{ |
|
|
public interface IReadOnlyRepository<out TEntity> : IQueryable<TEntity> |
|
|
public interface IReadOnlyRepository<TEntity> : IQueryable<TEntity> |
|
|
{ |
|
|
{ |
|
|
IQueryable<TEntity> WithDetails(); |
|
|
IQueryable<TEntity> WithDetails(); |
|
|
|
|
|
|
|
|
|
|
|
IQueryable<TEntity> WithDetails(params Expression<Func<TEntity, object>>[] propertySelectors); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public interface IReadOnlyRepository<TEntity, TKey> : IReadOnlyRepository<TEntity>, IReadOnlyBasicRepository<TEntity, TKey> |
|
|
public interface IReadOnlyRepository<TEntity, TKey> : IReadOnlyRepository<TEntity>, IReadOnlyBasicRepository<TEntity, TKey> |
|
|
|