IdentityDbContext<TUser> 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.
generic <typename TUser>
where TUser : IdentityUserpublic ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<TUser, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRole ^, System::String ^>
generic <typename TUser>
where TUser : IdentityUserpublic ref class IdentityDbContext : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityDbContext<TUser, Microsoft::AspNetCore::Identity::IdentityRole ^, System::String ^>
public class IdentityDbContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<TUser,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole,string> where TUser : IdentityUser
public class IdentityDbContext<TUser> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityDbContext<TUser,Microsoft.AspNetCore.Identity.IdentityRole,string> where TUser : IdentityUser
type IdentityDbContext<'User (requires 'User :> IdentityUser)> = class
inherit IdentityDbContext<'User, IdentityRole, string (requires 'User :> IdentityUser)>
Public Class IdentityDbContext(Of TUser)
Inherits IdentityDbContext(Of TUser, IdentityRole, String)
Type Parameters
- TUser
The type of the user objects.
- Inheritance
-
IdentityDbContext<TUser>
- Inheritance
-
IdentityDbContext<TUser,TRole,TKey,IdentityUserClaim<TKey>,IdentityUserRole<TKey>,IdentityUserLogin<TKey>,IdentityRoleClaim<TKey>,IdentityUserToken<TKey>>IdentityDbContext<TUser>
- Derived
Constructors
IdentityDbContext<TUser>() |
Initializes a new instance of the IdentityDbContext class. |
IdentityDbContext<TUser>(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>) |