CoreStrings.NoDiscriminatorForValue(Object, Object) 方法

定义

无法为实体类型“{entityType}”设置鉴别器值,因为根实体类型“{rootEntityType}”未配置鉴别器属性。

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

参数

entityType
Object
rootEntityType
Object

返回

适用于