IdentityDbContext Class
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.
Base class for the Entity Framework database context used for identity.
public ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUser ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRole ^, System::String ^>
public ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<Microsoft::AspNetCore::Identity::IdentityUser ^, Microsoft::AspNetCore::Identity::IdentityRole ^, System::String ^>
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole,string>
public class IdentityDbContext : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<Microsoft.AspNetCore.Identity.IdentityUser,Microsoft.AspNetCore.Identity.IdentityRole,string>
type IdentityDbContext = class
inherit IdentityDbContext<IdentityUser, IdentityRole, string>
Public Class IdentityDbContext
Inherits IdentityDbContext(Of IdentityUser, IdentityRole, String)
- Inheritance
-
IdentityDbContext
- Inheritance
-
IdentityDbContext<TUser,TRole,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityRoleClaim<TKey>,IdentityUserToken<TKey>>IdentityDbContext
Constructors
IdentityDbContext() |
Initializes a new instance of the IdentityDbContext class. |
IdentityDbContext(DbContextOptions) |
Initializes a new instance of IdentityDbContext. |
Properties
Methods
OnModelCreating(ModelBuilder) |
Configures the schema needed for the identity framework. (Inherited from IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>) |