Share via


IdentityDbContext<TUser> Class

Definition

generic <typename TUser>
 where TUser : IdentityUserpublic ref class IdentityDbContext : Microsoft::AspNet::Identity::CoreCompat::IdentityDbContext<TUser, Microsoft::AspNet::Identity::CoreCompat::IdentityRole ^, System::String ^, Microsoft::AspNet::Identity::CoreCompat::IdentityUserLogin ^, Microsoft::AspNet::Identity::EntityFramework::IdentityUserRole ^, Microsoft::AspNet::Identity::EntityFramework::IdentityUserClaim ^, Microsoft::AspNet::Identity::CoreCompat::IdentityRoleClaim ^>
public class IdentityDbContext<TUser> : Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<TUser,Microsoft.AspNet.Identity.CoreCompat.IdentityRole,string,Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin,Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole,Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim,Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim> where TUser : IdentityUser
type IdentityDbContext<'User (requires 'User :> IdentityUser)> = class
    inherit IdentityDbContext<'User, IdentityRole, string, IdentityUserLogin, IdentityUserRole, IdentityUserClaim, IdentityRoleClaim (requires 'User :> IdentityUser)>
Public Class IdentityDbContext(Of TUser)
Inherits IdentityDbContext(Of TUser, IdentityRole, String, IdentityUserLogin, IdentityUserRole, IdentityUserClaim, IdentityRoleClaim)

Type Parameters

TUser
Inheritance
Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim>
IdentityDbContext<TUser,IdentityRole,String,IdentityUserLogin,Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole,Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim,IdentityRoleClaim>
IdentityDbContext<TUser>

Constructors

IdentityDbContext<TUser>()
IdentityDbContext<TUser>(DbCompiledModel)
IdentityDbContext<TUser>(DbConnection, Boolean)
IdentityDbContext<TUser>(DbConnection, DbCompiledModel, Boolean)
IdentityDbContext<TUser>(String, DbCompiledModel)
IdentityDbContext<TUser>(String)

Properties

RoleClaims (Inherited from IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>)

Methods

OnModelCreating(DbModelBuilder) (Inherited from IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>)
ValidateEntity(DbEntityEntry, IDictionary<Object,Object>) (Inherited from IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>)

Applies to