Class StringRepositoryBase<TEntity>
主键为Guid类型的仓储基类
public abstract class StringRepositoryBase<TEntity> : RepositoryBase<DbContext, TEntity, string>, IRepository<TEntity, string>, IRepository where TEntity : StringEntityBase
Type Parameters
TEntity
实体类型
- Inheritance
-
StringRepositoryBase<TEntity>
- Implements
-
IRepository<TEntity, string>
- Inherited Members
- Extension Methods
Constructors
StringRepositoryBase(DbContext)
public StringRepositoryBase(DbContext dbContext)
Parameters
dbContext
DbContext