DiscriminatorConvention.ProcessDiscriminatorPropertySet 方法

定义

在设置鉴别器属性后调用。

public virtual void ProcessDiscriminatorPropertySet (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string? name, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
abstract member ProcessDiscriminatorPropertySet : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
override this.ProcessDiscriminatorPropertySet : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Overridable Sub ProcessDiscriminatorPropertySet (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, context As IConventionContext(Of String))

参数

entityTypeBuilder
IConventionEntityTypeBuilder

实体类型的生成器。

name
String

鉴别器属性的名称。

context
IConventionContext<String>

与约定执行关联的其他信息。

实现

适用于