ComplexPropertyDiscoveryConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一种约定,该约定基于导航属性配置实体类型之间的关系,只要没有歧义,哪个是相应的反向导航。
public class ComplexPropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationRemovedConvention
type ComplexPropertyDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface IComplexPropertyAddedConvention
interface INavigationRemovedConvention
interface INavigationAddedConvention
interface IPropertyRemovedConvention
interface IPropertyAddedConvention
interface ISkipNavigationRemovedConvention
interface ISkipNavigationAddedConvention
interface IModelFinalizingConvention
Public Class ComplexPropertyDiscoveryConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IModelFinalizingConvention, INavigationAddedConvention, INavigationRemovedConvention, IPropertyAddedConvention, IPropertyRemovedConvention, ISkipNavigationAddedConvention, ISkipNavigationRemovedConvention
- 继承
-
ComplexPropertyDiscoveryConvention
- 实现
-
IComplexPropertyAddedConvention IConvention IEntityTypeAddedConvention IEntityTypeBaseTypeChangedConvention IEntityTypeMemberIgnoredConvention IModelFinalizingConvention INavigationAddedConvention INavigationRemovedConvention IPropertyAddedConvention IPropertyRemovedConvention ISkipNavigationAddedConvention ISkipNavigationRemovedConvention
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
ComplexPropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies) |
创建 ComplexPropertyDiscoveryConvention 的新实例。 |
属性
Dependencies |
此服务的依赖项。 |
方法
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈