CoreStrings.DiscriminatorPropertyMustBeOnRoot(Object) 方法

定义

无法为实体类型“{entityType}”设置鉴别器属性,因为它不是继承层次结构的根。

public static string DiscriminatorPropertyMustBeOnRoot (object entityType);
public static string DiscriminatorPropertyMustBeOnRoot (object? entityType);
static member DiscriminatorPropertyMustBeOnRoot : obj -> string
Public Shared Function DiscriminatorPropertyMustBeOnRoot (entityType As Object) As String

参数

entityType
Object

返回

适用于