CoreStrings.NoDiscriminatorForValue(Object, Object) Method

Definition

Cannot set the discriminator value for entity type '{entityType}' because the root entity type '{rootEntityType}' doesn't have a discriminator property configured.

public static string NoDiscriminatorForValue (object entityType, object rootEntityType);
public static string NoDiscriminatorForValue (object? entityType, object? rootEntityType);
static member NoDiscriminatorForValue : obj * obj -> string
Public Shared Function NoDiscriminatorForValue (entityType As Object, rootEntityType As Object) As String

Parameters

entityType
Object
rootEntityType
Object

Returns

Applies to