共用方式為


CoreStrings.ConstructorConflict(Object, Object) 方法

定義

建構函式 '{firstConstructor}' 和 '{secondConstructor}' 具有相同的參數數目,而且兩者皆可供 Entity Framework 使用。 要使用的建構函式必須在 'OnModelCreating' 中設定。

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

參數

firstConstructor
Object
secondConstructor
Object

傳回

適用於