AttributeToTableAnnotationConvention<TAttribute, TAnnotation> Class
A general purpose class for Code First conventions that read attributes from .NET types and generate table annotations based on those attributes.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.ModelConfiguration.Conventions.Convention
System.Data.Entity.ModelConfiguration.Conventions.AttributeToTableAnnotationConvention<TAttribute, TAnnotation>
Name | Description | |
---|---|---|
![]() | AttributeToTableAnnotationConvention<TAttribute, TAnnotation>(String, Func<Type, IList<TAttribute>, TAnnotation>) | Constructs a convention that will create table annotations with the given name and using the given factory delegate. |
Name | Description | |
---|---|---|
![]() | 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.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.