Aracılığıyla paylaş


IdentityDbContext<TUser,TRole,TKey> Oluşturucular

Tanım

Aşırı Yüklemeler

IdentityDbContext<TUser,TRole,TKey>()

sınıfının yeni bir örneğini başlatır.

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Veritabanı bağlamının yeni bir örneğini başlatır.

IdentityDbContext<TUser,TRole,TKey>()

Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs

sınıfının yeni bir örneğini başlatır.

protected:
 IdentityDbContext();
protected IdentityDbContext ();
Protected Sub New ()

Şunlara uygulanır

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs
Kaynak:
IdentityDbContext.cs

Veritabanı bağlamının yeni bir örneğini başlatır.

public:
 IdentityDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options);
public IdentityDbContext (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)>
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)> : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<'User, 'Role, 'Key (requires 'User :> Microsoft.AspNetCore.Identity.IdentityUser<'Key> and 'Role :> Microsoft.AspNetCore.Identity.IdentityRole<'Key> and 'Key :> IEquatable<'Key>)>
Public Sub New (options As DbContextOptions)

Parametreler

options
DbContextOptions

tarafından DbContextkullanılacak seçenekler.

Şunlara uygulanır