IdentityDbContext<TUser,TRole,TKey> Constructors
Definition
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.
Overloads
IdentityDbContext<TUser,TRole,TKey>() |
Initializes a new instance of the class. |
IdentityDbContext<TUser,TRole,TKey>(DbContextOptions) |
Initializes a new instance of the db context. |
IdentityDbContext<TUser,TRole,TKey>()
- 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();
protected IdentityDbContext ();
Protected Sub New ()
Applies to
IdentityDbContext<TUser,TRole,TKey>(DbContextOptions)
- 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);
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.