语言

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

返回

适用于