語言

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

傳回

適用於