IdentityDbContext<TUser,TRole,TKey> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IdentityDbContext<TUser,TRole,TKey>() |
Initializes a new instance of the class. |
IdentityDbContext<TUser,TRole,TKey>(DbContextOptions) |
Initializes a new instance of the db context. |
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
Initializes a new instance of the class.
protected:
IdentityDbContext();
C#
protected IdentityDbContext ();
Protected Sub New ()
Applies to
ASP.NET Core 9.0 an aner Versiounen
Produkt | Versiounen |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
- Source:
- IdentityDbContext.cs
Initializes a new instance of the db context.
public:
IdentityDbContext(Microsoft::EntityFrameworkCore::DbContextOptions ^ options);
C#
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)
Parameters
- options
- DbContextOptions
The options to be used by a DbContext.
Applies to
ASP.NET Core 9.0 an aner Versiounen
Produkt | Versiounen |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |