IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim> 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.
generic <typename TUser, typename TRole, typename TKey, typename TUserLogin, typename TUserRole, typename TUserClaim, typename TRoleClaim>
where TUser : IdentityUser<TKey, TUserLogin, TUserRole, TUserClaim> where TRole : IdentityRole<TKey, TUserRole> where TUserLogin : IdentityUserLogin<TKey> where TUserRole : IdentityUserRole<TKey> where TUserClaim : IdentityUserClaim<TKey> where TRoleClaim : IdentityRoleClaim<TKey>public ref class IdentityDbContext : Microsoft::AspNet::Identity::EntityFramework::IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>
public class IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim> : Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim> where TUser : IdentityUser<TKey,TUserLogin,TUserRole,TUserClaim> where TRole : IdentityRole<TKey,TUserRole> where TUserLogin : IdentityUserLogin<TKey> where TUserRole : IdentityUserRole<TKey> where TUserClaim : IdentityUserClaim<TKey> where TRoleClaim : IdentityRoleClaim<TKey>
type IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim, 'RoleClaim (requires 'User :> IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> IdentityRole<'Key, 'UserRole> and 'UserLogin :> IdentityUserLogin<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserClaim :> IdentityUserClaim<'Key> and 'RoleClaim :> IdentityRoleClaim<'Key>)> = class
inherit IdentityDbContext<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim (requires 'User :> IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> IdentityRole<'Key, 'UserRole> and 'UserLogin :> IdentityUserLogin<'Key> and 'UserRole :> IdentityUserRole<'Key> and 'UserClaim :> IdentityUserClaim<'Key>)>
Public Class IdentityDbContext(Of TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim, TRoleClaim)
Inherits IdentityDbContext(Of TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim)
Type Parameters
- TUser
- TRole
- TKey
- TUserLogin
- TUserRole
- TUserClaim
- TRoleClaim
- Inheritance
-
Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim>IdentityDbContext<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim,TRoleClaim>
- Derived
Constructors
Properties
RoleClaims |
Methods
OnModelCreating(DbModelBuilder) | |
ValidateEntity(DbEntityEntry, IDictionary<Object,Object>) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for