IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim, TRoleClaim> Class

Namespace
Microsoft.AspNet.Identity.CoreCompat
Assemblies
  • Microsoft.AspNet.Identity.AspNetCoreCompat

Inheritance Hierarchy

Syntax

public class IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim, TRoleClaim> : IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>, IDisposable, IObjectContextAdapter where TUser : IdentityUser<TKey, TUserLogin, TUserRole, TUserClaim> where TRole : IdentityRole<TKey, TUserRole> where TUserLogin : IdentityUserLogin<TKey> where TUserRole : IdentityUserRole<TKey> where TUserClaim : IdentityUserClaim<TKey> where TRoleClaim : IdentityRoleClaim<TKey>
class Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim, TRoleClaim>

Constructors

IdentityDbContext()
public IdentityDbContext()
IdentityDbContext(System.Data.Common.DbConnection, System.Boolean)
public IdentityDbContext(DbConnection existingConnection, bool contextOwnsConnection)
IdentityDbContext(System.Data.Common.DbConnection, System.Data.Entity.Infrastructure.DbCompiledModel, System.Boolean)
public IdentityDbContext(DbConnection existingConnection, DbCompiledModel model, bool contextOwnsConnection)
IdentityDbContext(System.Data.Entity.Infrastructure.DbCompiledModel)
public IdentityDbContext(DbCompiledModel model)
IdentityDbContext(System.String)
public IdentityDbContext(string nameOrConnectionString)
IdentityDbContext(System.String, System.Data.Entity.Infrastructure.DbCompiledModel)
public IdentityDbContext(string nameOrConnectionString, DbCompiledModel model)

Methods

OnModelCreating(System.Data.Entity.DbModelBuilder)
protected override void OnModelCreating(DbModelBuilder modelBuilder)
ValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry, System.Collections.Generic.IDictionary<System.Object, System.Object>)
Return type:System.Data.Entity.Validation.DbEntityValidationResult
protected override DbEntityValidationResult ValidateEntity(DbEntityEntry entityEntry, IDictionary<object, object> items)

Properties

Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim, TRoleClaim>.RoleClaims
Return type:System.Data.Entity.IDbSet<TRoleClaim>
public virtual IDbSet<TRoleClaim> RoleClaims { get; set; }