IdentityUserContext<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.OnModelCreating 方法

定义

配置标识框架所需的架构。

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)

参数

builder
ModelBuilder

用于为此上下文构造模型的生成器。

适用于