Export (0) Print
Expand All

System.Data.Entity.Infrastructure.Annotations Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Public classAnnotationCodeGeneratorRepresents the creation of a service that allows for code generation of custom annotations as part of scaffolding Migrations. The derived class should be set onto the MigrationCodeGenerator.
Public classAnnotationValuesRepresents a pair of annotation values in a scaffolded or hand-coded DbMigration.
Public classCompatibilityResultReturned by IsCompatibleWith(Object) and related methods to indicate whether or not one object does not conflict with another such that the two can be combined into one.
Public classIndexAnnotationRepresents the custom annotations for representing database indexes in an Entity Framework model.
Public classIndexAnnotationSerializerThis class is used to serialize and deserialize IndexAnnotation objects so that they can be stored in the EDMX form of the Entity Framework model.

Public interfaceIMergeableAnnotationTypes used as custom annotations can implement this interface to indicate that an attempt to use multiple annotations with the same name on a given table or column may be possible by merging the multiple annotations into one.
© 2015 Microsoft