Udostępnij za pośrednictwem


IdentityDbContext<TUser,TRole,TKey> Konstruktory

Definicja

Przeciążenia

IdentityDbContext<TUser,TRole,TKey>()

Inicjuje nowe wystąpienie klasy .

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Inicjuje nowe wystąpienie kontekstu bazy danych.

IdentityDbContext<TUser,TRole,TKey>()

Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs

Inicjuje nowe wystąpienie klasy .

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

Dotyczy

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs
Źródło:
IdentityDbContext.cs

Inicjuje nowe wystąpienie kontekstu bazy danych.

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)

Parametry

options
DbContextOptions

Opcje, które mają być używane przez element DbContext.

Dotyczy