Class BaseEntityRepository
- Namespace
- JobFlow.Core.Infrastructure.Repository
- Assembly
- JobFlow.Core.dll
public class BaseEntityRepository : IBaseRepository
- Inheritance
-
objectBaseEntityRepository
- Implements
- Extension Methods
Constructors
BaseEntityRepository(IQueryableRepository)
public BaseEntityRepository(IQueryableRepository repository)
Parameters
repository
IQueryableRepository
Properties
Repository
protected IQueryableRepository Repository { get; }
Property Value
Methods
SaveChanges()
Save changes in the _repository.
public int SaveChanges()
Returns
- int
In some case, this will save changes across the entity storage, even when called from a _repository for a specific entity, and not just in this set (for Entity Framework, for example).
SaveChangesAsync()
Save changes in the _repository.
public Task<int> SaveChangesAsync()