語言

RelationalStrings.JsonObjectWithMultiplePropertiesMappedToSameJsonProperty 方法

定義

'{property1}' 和 '{property2}' 在 '{type}' 上都設定為使用相同的 JSON 屬性名稱 '{jsonPropertyName}''。 JSON-mapped 類型中的每個屬性必須擁有唯一的 JSON 屬性名稱。

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

參數

property1
Object
property2
Object
type
Object
jsonPropertyName
Object

傳回

適用於