IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim> Конструкторы

Определение

Перегрузки

IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>()
IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(DbCompiledModel)
IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(String)
IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(DbConnection, Boolean)
IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(String, DbCompiledModel)
IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(DbConnection, DbCompiledModel, Boolean)

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

public:
 IdentityDbContext();
public IdentityDbContext ();
Public Sub New ()

Применяется к

IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(DbCompiledModel)

public:
 IdentityDbContext(System::Data::Entity::Infrastructure::DbCompiledModel ^ model);
public IdentityDbContext (System.Data.Entity.Infrastructure.DbCompiledModel model);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)> : System.Data.Entity.Infrastructure.DbCompiledModel -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)>
Public Sub New (model As DbCompiledModel)

Параметры

Применяется к

IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(String)

public:
 IdentityDbContext(System::String ^ nameOrConnectionString);
public IdentityDbContext (string nameOrConnectionString);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)> : string -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)>
Public Sub New (nameOrConnectionString As String)

Параметры

nameOrConnectionString
String

Применяется к

IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(DbConnection, Boolean)

public:
 IdentityDbContext(System::Data::Common::DbConnection ^ existingConnection, bool contextOwnsConnection);
public IdentityDbContext (System.Data.Common.DbConnection existingConnection, bool contextOwnsConnection);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)> : System.Data.Common.DbConnection * bool -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)>
Public Sub New (existingConnection As DbConnection, contextOwnsConnection As Boolean)

Параметры

existingConnection
DbConnection
contextOwnsConnection
Boolean

Применяется к

IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(String, DbCompiledModel)

public:
 IdentityDbContext(System::String ^ nameOrConnectionString, System::Data::Entity::Infrastructure::DbCompiledModel ^ model);
public IdentityDbContext (string nameOrConnectionString, System.Data.Entity.Infrastructure.DbCompiledModel model);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)> : string * System.Data.Entity.Infrastructure.DbCompiledModel -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)>
Public Sub New (nameOrConnectionString As String, model As DbCompiledModel)

Параметры

nameOrConnectionString
String

Применяется к

IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>(DbConnection, DbCompiledModel, Boolean)

public:
 IdentityDbContext(System::Data::Common::DbConnection ^ existingConnection, System::Data::Entity::Infrastructure::DbCompiledModel ^ model, bool contextOwnsConnection);
public IdentityDbContext (System.Data.Common.DbConnection existingConnection, System.Data.Entity.Infrastructure.DbCompiledModel model, bool contextOwnsConnection);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)> : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.DbCompiledModel * bool -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'RoleClaim :> Microsoft.AspNet.Identity.CoreCompat.IdentityRoleClaim<'Key>)>
Public Sub New (existingConnection As DbConnection, model As DbCompiledModel, contextOwnsConnection As Boolean)

Параметры

existingConnection
DbConnection
contextOwnsConnection
Boolean

Применяется к