IdentityDbContext<TUser> Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
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
- model
- DbCompiledModel
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
- model
- DbCompiledModel
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
- model
- DbCompiledModel
- contextOwnsConnection
- Boolean