共用方式為


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

傳回

適用於