语言

RelationalComplexPropertyBuilderExtensions 类

定义

关系数据库特定的扩展方法。ComplexPropertyBuilder

[System.Runtime.CompilerServices.Nullable(0)]
public static class RelationalComplexPropertyBuilderExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalComplexPropertyBuilderExtensions = class
Public Module RelationalComplexPropertyBuilderExtensions
继承
RelationalComplexPropertyBuilderExtensions
特性

注解

有关详细信息和示例,请参阅 复杂类型 。

方法

名称 说明
HasColumnType(ComplexPropertyBuilder, String)

为存储复杂属性的 JSON 列配置列类型。

HasColumnType<TComplex>(ComplexPropertyBuilder<TComplex>, String)

为存储复杂属性的 JSON 列配置列类型。

HasJsonPropertyName(ComplexPropertyBuilder, String)

配置映射到 JSON 列的实体的复杂属性,将复杂属性映射到特定的 JSON 属性,而不是使用复杂属性名称。

HasJsonPropertyName<TComplex>(ComplexPropertyBuilder<TComplex>, String)

配置映射到 JSON 列的实体的复杂属性,将复杂属性映射到特定的 JSON 属性,而不是使用复杂属性名称。

ToJson(ComplexPropertyBuilder, String)

配置要存储为 JSON 列的复杂属性。

ToJson<TComplex>(ComplexPropertyBuilder<TComplex>, String)

配置要存储为 JSON 列的复杂属性。

适用于