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