Rotex.EfManager.AspNetCore by gbenga adetayo

<PackageReference Include="Rotex.EfManager.AspNetCore" Version="1.0.1" />

 IRepository1<T>

public interface IRepository1<T>
int Count { get; }

bool Enrolled { get; }

void Add(T item)

bool Add(T entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

Task<bool> AddAsync(T entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

void AddRange(IEnumerable<T> obj)

bool AddRange(IEnumerable<T> entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

Task<bool> AddRangeAsync(IEnumerable<T> entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

void Attach(T entity)

bool Contains(T item)

void EnrolInUnitOfWork(IUnitOfWork unitOfWork)

void Entry(T entity, EntityState state)

T Find(Expression<Func<T, bool>> criteria)

Task<T> FindAsync(Expression<Func<T, bool>> criteria)

T First(Expression<Func<T, bool>> predicate)

Task<T> FirstAsync(Expression<Func<T, bool>> predicate)

IEnumerable<T> Get(Expression<Func<T, bool>> predicate, Expression<Func<T, string>> orderBy, int pageIndex, int pageSize, SortOrder sortOrder = 0)

IEnumerable<T> Get(Expression<Func<T, string>> orderBy, int pageIndex, int pageSize, SortOrder sortOrder = 0)

IQueryable<T> GetAll(Func<DbSet<T>, IQueryable<T>> lazySetupAction)

IQueryable<T> GetAll(Expression<Func<T, object>>[] lazyInclude)

IQueryable<T> GetBy(Func<T, bool> predicate)

IQueryable<T> GetBy(Func<T, bool> predicate, Expression<Func<T, object>>[] lazyInclude)

IQueryable<T> GetByExp(Expression<Func<T, bool>> predicate)

IQueryable<T> GetByExp(Expression<Func<T, bool>> predicate, string lazyIncludeString)

T GetById(object id)

T GetById(object[] ids)

Task<T> GetByIdAsync(object[] ids)

void Remove(T item)

bool Remove(T entity, ICacheManager cacheManager, bool commitUnitOfWork = true, string[] removePatterns)

Task<bool> RemoveAsync(T entity, ICacheManager cacheManager, bool commitUnitOfWork = true, string[] removePatterns)

void RemoveRange(IEnumerable<T> item)

bool RemoveRange(IEnumerable<T> entity, ICacheManager cacheManager, bool commitUnitOfWork = true, string[] removePatterns)

Task<bool> RemoveRangeAsync(IEnumerable<T> entity, ICacheManager cacheManager, bool commitUnitOfWork = true, string[] removePatterns)

T Single(Expression<Func<T, bool>> criteria)

Task<T> SingleAsync(Expression<Func<T, bool>> criteria)

void Update(T entity)

void Update(T entity, bool includeParameterOnly, Expression<Func<T, object>>[] lazyExclude)

bool Update(T entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

Task<bool> UpdateAsync(T entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

void UpdateRange(IEnumerable<T> obj)

void UpdateRange(IEnumerable<T> obj, bool includeParameterOnly, Expression<Func<T, object>>[] lazyProperties)

bool UpdateRange(IEnumerable<T> entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)

Task<bool> UpdateRangeAsync(IEnumerable<T> entity, ICacheManager cacheManager, Action<T> advanceAction = null, Action<T> defferAction = null, bool commitUnitOfWork = true, string[] removePatterns)