CoreStrings.ConstructorConflict(Object, Object) Method

Definition

The constructors '{firstConstructor}' and '{secondConstructor}' have the same number of parameters, and can both be used by Entity Framework. The constructor to be used must be configured in 'OnModelCreating'.

C#
public static string ConstructorConflict (object firstConstructor, object secondConstructor);
C#
public static string ConstructorConflict (object? firstConstructor, object? secondConstructor);

Parameters

firstConstructor
Object
secondConstructor
Object

Returns

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0