CoreStrings.DiscriminatorPropertyNotFound(Object, Object) 方法

定义

无法将属性“{property}”设置为实体类型“{entityType}”的鉴别器,因为它不是“{entityType}”的属性。

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

参数

property
Object
entityType
Object

返回

适用于