IdentityDbContext<TUser> 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
IdentityDbContext<TUser>()
public:
IdentityDbContext();
public IdentityDbContext ();
Public Sub New ()
적용 대상
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)
매개 변수
- model
- DbCompiledModel
적용 대상
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)
매개 변수
- nameOrConnectionString
- String
적용 대상
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)
매개 변수
- existingConnection
- DbConnection
- contextOwnsConnection
- Boolean
적용 대상
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)
매개 변수
- nameOrConnectionString
- String
- model
- DbCompiledModel
적용 대상
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)
매개 변수
- existingConnection
- DbConnection
- model
- DbCompiledModel
- contextOwnsConnection
- Boolean
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기