System.Data.Entity.Design Namespace

The System.Data.Entity.Design namespace contains classes to generate Entity Data Model (EDM) files and object source code.

Classes

EdmToObjectNamespaceMap

Represents a collection of conceptual model to code namespace mappings.

EntityClassGenerator

Generates object context and entity classes (object layer code) from conceptual schema definition language (CSDL) files.

EntityCodeGenerator

Generates object context and entity classes (object layer code) from conceptual schema definition language (CSDL) files. Starting with Entity Framework version 4, an ObjectContext class for a specific model contains properties of type ObjectSet<TEntity> that represent the model’s entity sets.

EntityFrameworkVersions

Provides information about different versions of the Entity Framework.

EntityModelSchemaGenerator

The class creates a default CCMapping between an EntityContainer in S space and an EntityContainer in C space. The Mapping will be created based on the declared types of extents. So Inheritance does not work.

EntityStoreSchemaFilterEntry

Represents a single filter entry. The filter is used to allow or exclude particular database objects during generation.

EntityStoreSchemaGenerator

Responsible for Loading Database Schema Information.

EntityViewGenerator

Generates views for the extents in the StorageMappingItemCollection, and creates a source code file for a type that will cache these views.

MetadataExtensionMethods

Represents the methods for the metadata publishing protocols.

MetadataItemCollectionFactory

Represents a set of methods for creating metadata ItemCollection instances.

PropertyGeneratedEventArgs

Provides data for the OnPropertyGenerated event.

TypeGeneratedEventArgs

Provides data for the OnTypeGenerated event.

Enums

EntityStoreSchemaFilterEffect

Specifies whether to allow or exclude database objects that match the pattern specified in the EntityStoreSchemaFilterEntry.

EntityStoreSchemaFilterObjectTypes

Specifies the store object type to apply the schema filter to.

LanguageOption

Specifies the language for the generated code.

Delegates

PropertyGeneratedEventHandler

Represents the method that will handle the OnPropertyGenerated event.

TypeGeneratedEventHandler

Represents the method that will handle the OnTypeGenerated event.

Remarks

The System.Data.Entity.Design classes support the EDM tools. For more information about the EDM tools, see ADO.NET Entity Data Model Tools.