Share via


RelationalStrings.EntityShortNameNotUnique(Object, Object, Object) Method

Definition

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