Rotex.EfManager.AspNetCore by gbenga adetayo

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

 EfDbContextBase<TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TRoleClaim, TUserToken>

public abstract class EfDbContextBase<TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TRoleClaim, TUserToken> : IdentityDbContext, IUnitOfWork, IDisposable where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TKey : IEquatable<TKey> where TUserClaim : IdentityUserClaim<TKey> where TUserRole : IdentityUserRole<TKey> where TUserLogin : IdentityUserLogin<TKey> where TRoleClaim : IdentityRoleClaim<TKey> where TUserToken : IdentityUserToken<TKey>
public DatabaseFacade EfDatabase { get; }

public virtual DbSet<Error> Errors { get; set; }

public EfDbContextBase()

public EfDbContextBase(DbContextOptions options)

public EfDbContextBase(string conNameOrString)

public EfDbContextBase(string conNameOrString, Action<SqlServerDbContextOptionsBuilder> sqlOptions)

public void Add<T>(T obj)

public void AddRange<T>(IEnumerable<T> obj)

public virtual void Attach<T>(T obj)

public virtual void Attach<T>(T[] obj)

public virtual void Attach<T>(IEnumerable<T> obj)

public int Commit()

public virtual Task<int> CommitAsync()

public virtual void Entry<T>(T obj, EntityState state)

public void Evict<T>(T entity)

public void Evict<T>(object[] keyValues)

public IQueryable<T> Get<T>()

public Key GetEntityKey<T, Key>(T entity) where Key : struct

public object[] GetEntityKey<T>(T entity)

protected void InitializeDbMapping(ModelBuilder modelBuilder, Type mappingConfigurationType)

protected void InitializeDbMapping(ModelBuilder modelBuilder, List<object> mappingTypes)

protected void InitializeDbUser(ModelBuilder modelBuilder, string userTable, string userId, string roleTable, string roleId, string userClaimTable, string userClaimId, string userRoleTable, string userLoginTable, string roleClaimTable, string roleClaimId, string userTokenTable)

protected void InitializeDbUser(ModelBuilder modelBuilder, string userTable, string userId, string roleTable, string roleId, string userClaimTable, string userClaimId, string userRoleTable, string userLoginTable, string roleClaimTable, string roleClaimId, string userTokenTable, string errorConstraintTable)

public bool Remove<T>(T item)

public bool RemoveRange<T>(IEnumerable<T> items)

public IQueryable<T> SqlQuery<T>(string query, object[] parameters)

public IQueryable<T> SqlQuery<T>(string query, DbTransaction transaction, object[] parameters)

public Task<List<T>> SqlQueryAsync<T>(string query, object[] parameters)

public Task<List<T>> SqlQueryAsync<T>(string query, DbTransaction transaction, object[] parameters)

public void Update<T>(T obj)

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

public void UpdateRange<T>(IEnumerable<T> obj)

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