PropertyAttributeConfigurationConvention<TAttribute> Class

 

Base class for conventions that process CLR attributes found on properties of types in the model.

Namespace:   System.Data.Entity.ModelConfiguration.Conventions
Assembly:  EntityFramework (in EntityFramework.dll)


public abstract class PropertyAttributeConfigurationConvention<TAttribute> : Convention
where TAttribute : Attribute

Type Parameters

TAttribute

The type of the attribute to look for.

NameDescription
System_CAPS_protmethodPropertyAttributeConfigurationConvention<TAttribute>()

Initializes a new instance of the PropertyAttributeConfigurationConvention<TAttribute> class.

NameDescription
System_CAPS_pubmethodApply(PropertyInfo, ConventionTypeConfiguration, TAttribute)

Applies this convention to a property that has an attribute of type TAttribute applied.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProperties()

Begins configuration of a lightweight convention that applies to all properties in the model.(Inherited from Convention.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTypes()

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.