共用方式為


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

傳回

適用於