RelationalStrings.EntityShortNameNotUnique(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 short name for '{entityType1}' is '{discriminatorValue}' which is the same for '{entityType2}'. Every concrete entity type in the hierarchy must have a unique short name. Either rename one of the types or call modelBuilder.Entity<TEntity>().Metadata.SetDiscriminatorValue("NewShortName").
public static string EntityShortNameNotUnique (object? entityType1, object? discriminatorValue, object? entityType2);
static member EntityShortNameNotUnique : obj * obj * obj -> string
Public Shared Function EntityShortNameNotUnique (entityType1 As Object, discriminatorValue As Object, entityType2 As Object) As String
Parameters
- entityType1
- Object
- discriminatorValue
- Object
- entityType2
- 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