CoreStrings.NoDiscriminatorForValue(Object, Object) Method
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.
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
- entityType
- Object
- rootEntityType
- Object
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: