CoreStrings.ConflictingBackingFields(Object, Object, Object, Object) 方法

定义

属性“{1_entityType}”。{0_property}“按约定同时匹配”{field1}“和”{field2}”。 在“OnModelCreating”中显式指定要与“HasField”一起使用的后备字段。

public static string ConflictingBackingFields (object property, object entityType, object field1, object field2);
public static string ConflictingBackingFields (object? property, object? entityType, object? field1, object? field2);
static member ConflictingBackingFields : obj * obj * obj * obj -> string
Public Shared Function ConflictingBackingFields (property As Object, entityType As Object, field1 As Object, field2 As Object) As String

参数

property
Object
entityType
Object
field1
Object
field2
Object

返回

适用于