共用方式為


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

傳回

適用於