Sprache

CoreStrings.ConstructorConflict(Object, Object) Methode

Definition

Die Konstruktoren '{firstConstructor}' und '{secondConstructor}' haben dieselbe Anzahl von Parametern und können beide von Entity Framework verwendet werden. Der zu verwendende Konstruktor muss in "OnModelCreating" konfiguriert werden.

public static string ConstructorConflict(object? firstConstructor, object? secondConstructor);
public static string ConstructorConflict(object firstConstructor, object secondConstructor);
static member ConstructorConflict : obj * obj -> string
Public Shared Function ConstructorConflict (firstConstructor As Object, secondConstructor As Object) As String

Parameter

firstConstructor
Object
secondConstructor
Object

Gibt zurück

Gilt für: