语言

RelationalStrings.ComplexPropertyJsonPropertyNameWithoutJsonMapping 方法

定义

复杂属性“{complexProperty}”不能使用“HasJsonPropertyName()”,因为它不包含在 JSON 映射的类型中。 使用“ToJson()”将复杂属性映射到 JSON 列,或确保它包含在映射到 JSON 的类型中。

public static string ComplexPropertyJsonPropertyNameWithoutJsonMapping(object? complexProperty);
static member ComplexPropertyJsonPropertyNameWithoutJsonMapping : obj -> string
Public Shared Function ComplexPropertyJsonPropertyNameWithoutJsonMapping (complexProperty As Object) As String

参数

complexProperty
Object

返回

适用于