OwnedAttributeConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一种约定,用于配置拥有 OwnedAttribute 的实体类型。
public class OwnedAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<Microsoft.EntityFrameworkCore.OwnedAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
type OwnedAttributeConvention = class
inherit TypeAttributeConventionBase<OwnedAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
Public Class OwnedAttributeConvention
Inherits TypeAttributeConventionBase(Of OwnedAttribute)
Implements IComplexPropertyAddedConvention
- 继承
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
OwnedAttributeConvention(ProviderConventionSetBuilderDependencies) |
创建 OwnedAttributeConvention 的新实例。 |
属性
Dependencies |
此服务的依赖项。 (继承自 TypeAttributeConventionBase<TAttribute>) |