mirror of https://github.com/abpframework/abp.git
4 changed files with 16 additions and 18 deletions
@ -1,16 +1,14 @@ |
|||
using Microsoft.EntityFrameworkCore; |
|||
using Volo.Abp.Domain.Entities; |
|||
using Volo.Abp.Domain.Repositories; |
|||
|
|||
namespace Volo.Abp.Repositories.EntityFrameworkCore |
|||
{ |
|||
public interface IEfCoreRepository |
|||
{ |
|||
DbContext DbContext { get; } |
|||
} |
|||
|
|||
public interface IEfCoreRepository<TEntity, TPrimaryKey> : IEfCoreRepository |
|||
public interface IEfCoreRepository<TEntity, TPrimaryKey> : IQueryableRepository<TEntity, TPrimaryKey> |
|||
where TEntity : class, IEntity<TPrimaryKey> |
|||
{ |
|||
DbContext DbContext { get; } |
|||
|
|||
DbSet<TEntity> DbSet { get; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue