CoreStrings.NoDiscriminatorForValue(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.
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
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