CoreStrings.DiscriminatorValueIncompatible(Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework