語言

RelationalStrings.ConflictingRowValues 方法

定義

類型 '{firstEntityType}' 與 '{secondEntityType}' 的實例映射到同一列,但映射到 '{column}' 的 {firstProperty} 與 {secondProperty} 屬性值不同。 可以考慮使用 'DbContextOptionsBuilder.EnableSensitiveDataLogging' 來查看這些衝突值。

public static string ConflictingRowValues(object? firstEntityType, object? secondEntityType, object? firstProperty, object? secondProperty, object? column);
public static string ConflictingRowValues(object firstEntityType, object secondEntityType, object firstProperties, object secondProperties, object columns);
public static string ConflictingRowValues(object firstEntityType, object secondEntityType, object firstProperty, object secondProperty, object column);
static member ConflictingRowValues : obj * obj * obj * obj * obj -> string
static member ConflictingRowValues : obj * obj * obj * obj * obj -> string
Public Shared Function ConflictingRowValues (firstEntityType As Object, secondEntityType As Object, firstProperty As Object, secondProperty As Object, column As Object) As String
Public Shared Function ConflictingRowValues (firstEntityType As Object, secondEntityType As Object, firstProperties As Object, secondProperties As Object, columns As Object) As String

參數

firstEntityType
Object
secondEntityType
Object
firstPropertyfirstProperties
Object
secondPropertysecondProperties
Object
columncolumns
Object

傳回

適用於