IdentityDbContext<TUser,TRole,TKey> Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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
- 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
- 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:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für