Show / Hide Table of Contents

Class IdentityDbContextExtensions

Inheritance
Object
IdentityDbContextExtensions
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
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.

Back to top Generated by DocFX