RelationalStrings.ComplexPropertyJsonPropertyNameWithoutJsonMapping 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
复杂属性“{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