Freigeben über


IdentityDbContext<TUser,TRole,TKey> Konstruktoren

Definition

Überlädt

IdentityDbContext<TUser,TRole,TKey>()

Initialisiert eine neue Instanz der Klasse.

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Initialisiert eine neue instance des Datenbankkontexts.

IdentityDbContext<TUser,TRole,TKey>()

Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs

Initialisiert eine neue Instanz der Klasse.

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

Gilt für:

IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)

Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs
Quelle:
IdentityDbContext.cs

Initialisiert eine neue instance des Datenbankkontexts.

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

Die Optionen, die von einem DbContextverwendet werden sollen.

Gilt für: