IdentityDbContext<TUser> IdentityDbContext(Of TUser) Class

Definition

public class IdentityDbContext<TUser> : IdentityDbContext<TUser, IdentityRole, string, IdentityUserLogin, IdentityUserRole, IdentityUserClaim, IdentityRoleClaim> where TUser : IdentityUser
Public Class IdentityDbContext(Of TUser As IdentityUser)
    Inherits IdentityDbContext(Of TUser, IdentityRole, String, IdentityUserLogin, IdentityUserRole, IdentityUserClaim, IdentityRoleClaim)
Type Parameters
TUser
Inheritance
IdentityDbContext<TUser, IdentityRole, String, IdentityUserLogin, IdentityUserRole, IdentityUserClaim, IdentityRoleClaim>IdentityDbContext(Of TUser, IdentityRole, String, IdentityUserLogin, IdentityUserRole, IdentityUserClaim, IdentityRoleClaim)
IdentityDbContext<TUser>IdentityDbContext(Of TUser)

Constructors

IdentityDbContext() IdentityDbContext()

public IdentityDbContext()
Public Sub New

IdentityDbContext(DbCompiledModel) IdentityDbContext(DbCompiledModel)

public IdentityDbContext(DbCompiledModel model)
Public Sub New(model As DbCompiledModel)
Parameters
model
DbCompiledModel DbCompiledModel

IdentityDbContext(DbConnection, Boolean) IdentityDbContext(DbConnection, Boolean)

public IdentityDbContext(DbConnection existingConnection, bool contextOwnsConnection)
Public Sub New(existingConnection As DbConnection, contextOwnsConnection As Boolean)
Parameters
existingConnection
DbConnection DbConnection
contextOwnsConnection
Boolean Boolean

IdentityDbContext(DbConnection, DbCompiledModel, Boolean) IdentityDbContext(DbConnection, DbCompiledModel, Boolean)

public IdentityDbContext(DbConnection existingConnection, DbCompiledModel model, bool contextOwnsConnection)
Public Sub New(existingConnection As DbConnection, model As DbCompiledModel, contextOwnsConnection As Boolean)
Parameters
existingConnection
DbConnection DbConnection
model
DbCompiledModel DbCompiledModel
contextOwnsConnection
Boolean Boolean

IdentityDbContext(String) IdentityDbContext(String)

public IdentityDbContext(string nameOrConnectionString)
Public Sub New(nameOrConnectionString As String)
Parameters
nameOrConnectionString
String String

IdentityDbContext(String, DbCompiledModel) IdentityDbContext(String, DbCompiledModel)

public IdentityDbContext(string nameOrConnectionString, DbCompiledModel model)
Public Sub New(nameOrConnectionString As String, model As DbCompiledModel)
Parameters
nameOrConnectionString
String String
model
DbCompiledModel DbCompiledModel

Methods

OnModelCreating(DbModelBuilder) OnModelCreating(DbModelBuilder)

Inherited from Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<TUser, Microsoft.AspNet.Identity.CoreCompat.IdentityRole, System.String, Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin, IdentityUserRole, IdentityUserClaim, Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim>

RoleClaims RoleClaims

Inherited from Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<TUser, Microsoft.AspNet.Identity.CoreCompat.IdentityRole, System.String, Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin, IdentityUserRole, IdentityUserClaim, Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim>

ValidateEntity(DbEntityEntry, IDictionary) ValidateEntity(DbEntityEntry, IDictionary(Of Object, Object))

Inherited from Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<TUser, Microsoft.AspNet.Identity.CoreCompat.IdentityRole, System.String, Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin, IdentityUserRole, IdentityUserClaim, Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim>