共用方式為


CoreStrings.DiscriminatorValueIncompatible(Object, Object, Object) 方法

定義

無法設定實體類型 '{entityType}' 的鑒別子值 '{value}',因為它無法指派給類型 '{discriminatorType}' 的鑒別子屬性。

public static string DiscriminatorValueIncompatible (object value, object discriminator, object discriminatorType);
public static string DiscriminatorValueIncompatible (object? value, object? discriminator, object? discriminatorType);
public static string DiscriminatorValueIncompatible (object? value, object? entityType, object? discriminatorType);
static member DiscriminatorValueIncompatible : obj * obj * obj -> string
static member DiscriminatorValueIncompatible : obj * obj * obj -> string
Public Shared Function DiscriminatorValueIncompatible (value As Object, discriminator As Object, discriminatorType As Object) As String
Public Shared Function DiscriminatorValueIncompatible (value As Object, entityType As Object, discriminatorType As Object) As String

參數

value
Object
discriminatorentityType
Object
discriminatorType
Object

傳回

適用於