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

返回

适用于