CoreStrings.ConstructorConflict(Object, Object) 方法

定义

构造函数“{firstConstructor}”和“{secondConstructor}”具有相同数量的参数,并且都可以由实体框架使用。 要使用的构造函数必须在“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

返回

适用于