ComplexTypeAttributeConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一种约定,用于配置具有 ComplexTypeAttribute的类型。
public class ComplexTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
type ComplexTypeAttributeConvention = class
inherit TypeAttributeConventionBase<ComplexTypeAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
Public Class ComplexTypeAttributeConvention
Inherits TypeAttributeConventionBase(Of ComplexTypeAttribute)
Implements IComplexPropertyAddedConvention
- 继承
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
ComplexTypeAttributeConvention(ProviderConventionSetBuilderDependencies) |
创建 ComplexTypeAttributeConvention 的新实例。 |
属性
Dependencies |
此服务的依赖项。 (继承自 TypeAttributeConventionBase<TAttribute>) |
方法
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈