Class IdentityDbContextExtensions
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity.EntityFrameworkCore
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
public static class IdentityDbContextExtensions
Methods
EnsureSeedData(IdentityDbContext)
Seeds the database with a security administrator role, that has all the permissions required to manage the security.
Declaration
public static void EnsureSeedData(this IdentityDbContext context)
Parameters
IdentityDbContext
context
The IdentityDbContext to use when seeding. |