Freigeben über


IdentityDbContext<TUser> Konstruktoren

Definition

Überlädt

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

IdentityDbContext<TUser>()

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

Gilt für:

IdentityDbContext<TUser>(DbCompiledModel)

public:
 IdentityDbContext(System::Data::Entity::Infrastructure::DbCompiledModel ^ model);
public IdentityDbContext (System.Data.Entity.Infrastructure.DbCompiledModel model);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)> : System.Data.Entity.Infrastructure.DbCompiledModel -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)>
Public Sub New (model As DbCompiledModel)

Parameter

Gilt für:

IdentityDbContext<TUser>(String)

public:
 IdentityDbContext(System::String ^ nameOrConnectionString);
public IdentityDbContext (string nameOrConnectionString);
new Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)> : string -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)>
Public Sub New (nameOrConnectionString As String)

Parameter

nameOrConnectionString
String

Gilt für:

IdentityDbContext<TUser>(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 (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)> : System.Data.Common.DbConnection * bool -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)>
Public Sub New (existingConnection As DbConnection, contextOwnsConnection As Boolean)

Parameter

existingConnection
DbConnection
contextOwnsConnection
Boolean

Gilt für:

IdentityDbContext<TUser>(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 (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)> : string * System.Data.Entity.Infrastructure.DbCompiledModel -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)>
Public Sub New (nameOrConnectionString As String, model As DbCompiledModel)

Parameter

nameOrConnectionString
String

Gilt für:

IdentityDbContext<TUser>(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 (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)> : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.DbCompiledModel * bool -> Microsoft.AspNet.Identity.CoreCompat.IdentityDbContext<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)>
Public Sub New (existingConnection As DbConnection, model As DbCompiledModel, contextOwnsConnection As Boolean)

Parameter

existingConnection
DbConnection
contextOwnsConnection
Boolean

Gilt für: