ComplexTypeConfiguration<TComplexType> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许为模型中的复杂类型执行配置。 可以通过 ComplexType 方法 DbModelBuilder 获取 ComplexTypeConfiguration,也可以通过配置属性注册 DbModelBuilder从 ComplexTypeConfiguration 派生的自定义类型。
public class ComplexTypeConfiguration<TComplexType> : System.Data.Entity.ModelConfiguration.Configuration.StructuralTypeConfiguration<TComplexType> where TComplexType : class
type ComplexTypeConfiguration<'ComplexType (requires 'ComplexType : null)> = class
inherit StructuralTypeConfiguration<'ComplexType (requires 'ComplexType : null)>
Public Class ComplexTypeConfiguration(Of TComplexType)
Inherits StructuralTypeConfiguration(Of TComplexType)
类型参数
- TComplexType
要配置的复杂类型。
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| ComplexTypeConfiguration<TComplexType>() |
初始化 ComplexTypeConfiguration 的新实例 |