This documentation is archived and is not being maintained.

System.Data.Entity.Design Namespace

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

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

Public classEdmToObjectNamespaceMapRepresents a collection of conceptual model to code namespace mappings.
Public classEntityClassGeneratorGenerates object context and entity classes (object layer code) from conceptual schema definition language (CSDL) files.
Public classEntityCodeGeneratorGenerates object layer source code from conceptual schema definition language (CSDL).
Public classEntityFrameworkVersionsProvides information about different versions of the Entity Framework.
Public classEntityModelSchemaGeneratorGenerates conceptual schema definition language (CSDL) and mapping specification language (MSL), based on store schema definition language (SSDL).
Public classEntityStoreSchemaFilterEntryRepresents a single filter entry. The filter is used to allow or exclude particular database objects during generation.
Public classEntityStoreSchemaGeneratorProvides methods and properties for loading database schema information and generating store schema definition language (SSDL).
Public classEntityViewGeneratorGenerates views for the extents in the StorageMappingItemCollection, and creates a source code file for a type that will cache these views.
Public classMetadataItemCollectionFactoryRepresents a set of methods for creating metadata ItemCollection instances.
Public classPropertyGeneratedEventArgsProvides data for the OnPropertyGenerated event.
Public classTypeGeneratedEventArgsProvides data for the OnTypeGenerated event.

Public delegatePropertyGeneratedEventHandlerRepresents the method that will handle the OnPropertyGenerated event.
Public delegateTypeGeneratedEventHandlerRepresents the method that will handle the OnTypeGenerated event.

Public enumerationEntityStoreSchemaFilterEffectSpecifies whether to allow or exclude database objects that match the pattern specified in the EntityStoreSchemaFilterEntry.
Public enumerationEntityStoreSchemaFilterObjectTypesSpecifies the store object type to apply the schema filter to.
Public enumerationLanguageOptionSpecifies the language for the generated code.