语言

InversePropertyAttributeConvention 类

定义

处理在模型中的属性上找到的 InversePropertyAttribute 实例的约定。

public class InversePropertyAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.PropertyAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>
type InversePropertyAttributeConvention = class
    inherit PropertyAttributeConfigurationConvention<InversePropertyAttribute>
Public Class InversePropertyAttributeConvention
Inherits PropertyAttributeConfigurationConvention(Of InversePropertyAttribute)
继承
继承
InversePropertyAttributeConvention

构造函数

名称 说明
InversePropertyAttributeConvention()

处理在模型中的属性上找到的 InversePropertyAttribute 实例的约定。

方法

名称 说明
Apply(PropertyInfo, ConventionTypeConfiguration, InversePropertyAttribute)

将此约定应用于应用了 TAttribute 类型的属性的属性。

Apply(PropertyInfo, ConventionTypeConfiguration, TAttribute)

将此约定应用于应用了 TAttribute 类型的属性的属性。

(继承自 PropertyAttributeConfigurationConvention<TAttribute>)
Properties()

开始配置适用于模型中所有属性的轻型约定。

(继承自 Convention)
Properties<T>()

开始配置适用于模型中指定类型的所有基元属性的轻型约定。

(继承自 Convention)
Types()

开始配置适用于模型中所有映射类型的轻型约定。

(继承自 Convention)
Types<T>()

开始配置轻型约定,该约定适用于派生自或实现指定类型的模型中的所有映射类型。

(继承自 Convention)

适用于