CoreStrings.DiscriminatorValueIncompatible(Object, Object, Object) Method

Definition

The discriminator value '{value}' for the entity type '{entityType}' cannot be set because it is not assignable to the discriminator property of type '{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

Parameters

value
Object
discriminatorentityType
Object
discriminatorType
Object

Returns

Applies to