語言

RelationalStrings.ComplexPropertyBothJsonColumnAndJsonPropertyName 方法

定義

複雜屬性 '{complexProperty}' 不能同時設定 JSON 欄位名稱('{columnName}')與 JSON 屬性名稱('{propertyName}')。 使用 'ToJson()' 映射到 JSON 欄位,或用 'HasJsonPropertyName()' 將 JSON 屬性映射成包含 JSON 欄位的屬性,但不要同時映射兩個欄位。

public static string ComplexPropertyBothJsonColumnAndJsonPropertyName(object? complexProperty, object? columnName, object? propertyName);
static member ComplexPropertyBothJsonColumnAndJsonPropertyName : obj * obj * obj -> string
Public Shared Function ComplexPropertyBothJsonColumnAndJsonPropertyName (complexProperty As Object, columnName As Object, propertyName As Object) As String

參數

complexProperty
Object
columnName
Object
propertyName
Object

傳回

適用於