语言

ComplexPropertiesConfigurationBuilder<TProperty> 类

定义

提供一个简单的 API 图面,用于在约定运行之前设置属性默认值。

public class ComplexPropertiesConfigurationBuilder<TProperty> : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertiesConfigurationBuilder
type ComplexPropertiesConfigurationBuilder<'Property> = class
    inherit ComplexPropertiesConfigurationBuilder
Public Class ComplexPropertiesConfigurationBuilder(Of TProperty)
Inherits ComplexPropertiesConfigurationBuilder

类型参数

TProperty
继承
ComplexPropertiesConfigurationBuilder<TProperty>

注解

使用 ModelConfigurationBuilder API 时,此类的实例会从方法返回,并且不会在应用程序代码中直接构造此类实例。

构造函数

名称 说明
ComplexPropertiesConfigurationBuilder<TProperty>(ComplexPropertyConfiguration)

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

属性

名称 说明
Configuration

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

(继承自 ComplexPropertiesConfigurationBuilder)

适用于