PropertyAttributeConfigurationConvention<TAttribute> Class
Base class for conventions that process CLR attributes found on properties of types in the model.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.ModelConfiguration.Conventions.Convention
System.Data.Entity.ModelConfiguration.Conventions.PropertyAttributeConfigurationConvention<TAttribute>
System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyPrimitivePropertyAttributeConvention
System.Data.Entity.ModelConfiguration.Conventions.InversePropertyAttributeConvention
System.Data.Entity.ModelConfiguration.Conventions.NotMappedPropertyAttributeConvention
Name | Description | |
---|---|---|
![]() | PropertyAttributeConfigurationConvention<TAttribute>() | Initializes a new instance of the PropertyAttributeConfigurationConvention<TAttribute> class. |
Name | Description | |
---|---|---|
![]() | Apply(PropertyInfo, ConventionTypeConfiguration, TAttribute) | Applies this convention to a property that has an attribute of type TAttribute applied. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Properties() | Begins configuration of a lightweight convention that applies to all properties in the model.(Inherited from Convention.) |
![]() | ToString() | (Inherited from Object.) |
![]() | Types() | Begins configuration of a lightweight convention that applies to all mapped types in the model.(Inherited from Convention.) |
Note that the derived convention will be applied for any non-static property on the mapped type that has the specified attribute, even if it wasn't included in the model.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.