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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework