Class BaseRepo<TEntity>
Base data repository for TEntity
.
public class BaseRepo<TEntity> : BaseNonQueryRepo<TEntity>, IRepo<TEntity>, INonQueryRepo<TEntity> where TEntity : class, new()
Type Parameters
TEntity
- Inheritance
-
BaseNonQueryRepo<TEntity>BaseRepo<TEntity>
- Implements
-
IRepo<TEntity>INonQueryRepo<TEntity>
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseRepo(IDataStore)
Ctor from store
.
public BaseRepo(IDataStore store)
Parameters
store
IDataStore
Properties
All
public virtual IQueryable<TEntity> All { get; }
Property Value
- IQueryable<TEntity>
AllUntracked
public virtual IQueryable<TEntity> AllUntracked { get; }
Property Value
- IQueryable<TEntity>