System.Data.Entity.Infrastructure.Annotations Namespace

Classes

AnnotationCodeGenerator

Inherit from this class to create a service that allows for code generation of custom annotations as part of scaffolding Migrations. The derived class should be set onto the MigrationCodeGenerator.

AnnotationValues

Represents a pair of annotation values in a scaffolded or hand-coded DbMigration.

CompatibilityResult

Returned 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.

IndexAnnotation

Instances of this class are used as custom annotations for representing database indexes in an Entity Framework model.

IndexAnnotationSerializer

This class is used to serialize and deserialize IndexAnnotation objects so that they can be stored in the EDMX form of the Entity Framework model.

Interfaces

IMergeableAnnotation

Types 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.