Dela via


IdentityDbContext<TUser,TRole,TKey,TUserClaim,TUserRole,TUserLogin,TRoleClaim,TUserToken>.OnModelCreating Method

Definition

Configures the schema needed for the identity framework.

protected:
 override void OnModelCreating(Microsoft::EntityFrameworkCore::ModelBuilder ^ builder);
protected override void OnModelCreating (Microsoft.EntityFrameworkCore.ModelBuilder builder);
override this.OnModelCreating : Microsoft.EntityFrameworkCore.ModelBuilder -> unit
Protected Overrides Sub OnModelCreating (builder As ModelBuilder)

Parameters

builder
ModelBuilder

The builder being used to construct the model for this context.

Applies to