Bagikan melalui


IdentityDbContext<TUser,TRole,TKey> Konstruktor

Definisi

Overload

IdentityDbContext<TUser,TRole,TKey>()

Menginisialisasi instans baru kelas.

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Menginisialisasi instans baru dari konteks db.

IdentityDbContext<TUser,TRole,TKey>()

Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs

Menginisialisasi instans baru kelas.

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

Berlaku untuk

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs
Sumber:
IdentityDbContext.cs

Menginisialisasi instans baru dari konteks db.

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)

Parameter

options
DbContextOptions

Opsi yang akan digunakan oleh DbContext.

Berlaku untuk