语言

RelationalStrings.ComplexPropertyJsonPropertyNameConflict 方法

定义

复杂属性“{property1}”和“{property2}”都配置为使用相同的 JSON 属性名称“{jsonPropertyName}”。 JSON 映射类型中的每个属性都必须具有唯一的 JSON 属性名称。

public static string ComplexPropertyJsonPropertyNameConflict(object? property1, object? property2, object? jsonPropertyName);
static member ComplexPropertyJsonPropertyNameConflict : obj * obj * obj -> string
Public Shared Function ComplexPropertyJsonPropertyNameConflict (property1 As Object, property2 As Object, jsonPropertyName As Object) As String

参数

property1
Object
property2
Object
jsonPropertyName
Object

返回

适用于