RelationalStrings.DuplicateColumnNameMaxLengthMismatch 方法

定义

“{entityType1}”。{property1}“和”{entityType2}”。{property2}“都映射到”{table}“中的列”{columnName}“,但配置了不同的最大长度 (”{maxLength1}“和”{maxLength2}“) 。

public static string DuplicateColumnNameMaxLengthMismatch (object entityType1, object property1, object entityType2, object property2, object columnName, object table, object maxLength1, object maxLength2);
public static string DuplicateColumnNameMaxLengthMismatch (object? entityType1, object? property1, object? entityType2, object? property2, object? columnName, object? table, object? maxLength1, object? maxLength2);
static member DuplicateColumnNameMaxLengthMismatch : obj * obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function DuplicateColumnNameMaxLengthMismatch (entityType1 As Object, property1 As Object, entityType2 As Object, property2 As Object, columnName As Object, table As Object, maxLength1 As Object, maxLength2 As Object) As String

参数

entityType1
Object
property1
Object
entityType2
Object
property2
Object
columnName
Object
table
Object
maxLength1
Object
maxLength2
Object

返回

适用于