System.Data.Entity.Design Extracts the model and mapping portions of .edmx files under the App_Code directory of an ASP.NET Web site, and embeds them as resources in the assembly that is dynamically compiled by the ASP.NET runtime. Initializes a new instance of the class. Generates C# or Visual Basic code based on the model and mapping portions of an .edmx file. A container for building an assembly. Provides instructions to the ASP.NET compiler about building a project. The results of compilation returned from the ASP.NET compiler. The required behavior when a virtual path is built. Represents the CSDL build provider for the ASP.NET build environment. Initializes a new instance of the class. Generates source code for the entity model build provider, and adds the source code to a specified assembly builder. The assembly builder that references the source code generated by the build provider. Returns a value indicating actions required when a entity model build provider is built. The compilation results for the build provider. The value, which indicates that the containing will be unloaded and restarted. Represents the MSL build provider for the ASP.NET build environment. Initializes a new instance of the class. Embeds the MSL file as a resource to the specified assembly builder. The assembly builder that references the source code generated by the build provider. Returns a value indicating actions required when a storage model build provider is built. The compilation results for the build provider. The value, which indicates that the containing will be unloaded and restarted. Represents the SSDL build provider for the ASP.NET build environment. Initializes a new instance of the class. Embeds the SSDL file as a resource to the specified assembly builder. The assembly builder that references the source code generated by the build provider. Returns a value indicating actions required when a storage model build provider is built. The compilation results for the build provider. The value, which indicates that the containing will be unloaded and restarted. Represents a collection of conceptual model to code namespace mappings. Adds a namespace mapping to the . The model namespace name. The code namespace name. Removes all namespace mappings from the . Gets a value indicating whether the contains the specified model namespace name. The model namespace name. if the model namespace name is found; otherwise . Gets the number of mappings in the . The number of mappings. Gets the list of model namespace names in the . The list of model namespace names. Gets or sets the code namespace name of the specified model namespace name. The model namespace name. The code namespace name that maps to the specified model namespace name. Removes the specified namespace mapping. The model namespace mapping to remove. if the namespace mapping was successfully removed; otherwise . Gets a value indicating whether the object namespace was retrieved. The model namespace name. The code namespace name. if the object namespace was retrieved; otherwise . Generates object context and entity classes (object layer code) from conceptual schema definition language (CSDL) files. Initializes a new instance of the class with a language option. Initializes a new instance of the class with the specified . A value that specifies the language of the generated code. The default language is C#. Gets an that contains the conceptual schema definition language (CSDL) to code namespace mappings. The CSDL to code namespace mappings. Generates a source code file that contains the objects that were generated from the specified conceptual schema definition language (CSDL) file. The CSDL file path. The generated source code file path. An of that contains any generated errors. Generates source code using the specified conceptual schema definition language (CSDL) file. The list of schema file paths is used to resolve any references contained in the CSDL file. The CSDL file path. The generated source code file path. A list of schema file paths that can be used to resolve any references in the source schema (the CSDL file). If the source schema does not have any dependencies, pass in an empty list. An of objects that contains any generated errors. Generates source code using the conceptual schema definition language (CSDL) file contained in the object and outputs the generated source code to a . An that contains the CSDL file. The to which the source code is written. An of that contains any generated errors. Generates source code based on the conceptual schema definition language (CSDL) file in the object, then outputs the generated source code to a . An of objects is used to resolve any references that are contained in the CSDL file. An that contains the CSDL file. The to which you want to output the generated source code. The list of objects that contain schemas that are referenced by the source schema (the CSDL file). If the source schema does not have any dependencies, pass in an empty object. A list of objects that contains any generated errors. Gets or sets a value that indicates the language of the generated code. One of the values. The default is . Occurs when a property has changed. Occurs when type information has changed. 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 that represent the model's entity sets. Initializes a new instance of the class with the specified language option. The language of the generated code. Gets an that contains the conceptual schema definition language (CSDL) to code namespace mappings. The CSDL to code namespace mappings. Creates a source code file that contains the object layer code generated from the specified conceptual schema definition language (CSDL) file. The path of the CSDL file. The path of the file that contains the generated object layer code. A list of objects that contains any generated errors. Creates a source code file that contains object layer code generated from the specified conceptual schema definition language (CSDL) file. The list of schema file paths is used to resolve any references contained in the CSDL file. The path of the CSDL file. The path of the file that contains the generated object layer code. A list of schema file paths that can be used to resolve any references in the source schema (the CSDL file). If the source schema does not have any dependencies, pass in an empty list. A list of objects that contains any generated errors. Creates a source code file that contains object layer code generated from the specified conceptual schema definition language (CSDL) file. The list of schema file paths is used to resolve any references contained in the CSDL file. Note that the targetEntityFrameworkVersion parameter uses internal EntityFramework version numbers as described in the class. The path of the CSDL file. The path of the file that contains the generated object layer code. A list of schema file paths that can be used to resolve any references in the source schema (the CSDL file). If the source schema does not have any dependencies, pass in an empty list. The internal Entity Framework version that is being targeted. A list of objects that contains any generated errors. Creates a source code file that contains the object layer code generated from the specified conceptual schema definition language (CSDL) file. Note that the targetEntityFrameworkVersion parameter uses internal Entity Framework version numbers as described in the class. The path of the CSDL file. The path of the file that contains the generated object layer code. The internal Entity Framework version that is being targeted. A list of objects that contains any generated errors. Generates object layer code using the conceptual schema definition language (CSDL) specified in the object, and outputs the generated code to a . An that contains the CSDL. The to which the object layer code is written. A list of objects that contains any generated errors. Generates object layer code based on the conceptual schema definition language (CSDL) specified in the object, then outputs the generated code to a . A list of objects is used to resolve any references that are contained in the CSDL. An that contains the CSDL. The to output the generated object layer code. A list of objects that contain schemas that are referenced by the source schema (the CSDL). If the source schema does not have any dependencies, pass in an empty list. A list of objects that contains any generated errors. Creates a source code file that contains the object layer code generated from the specified conceptual schema definition language (CSDL) file. Note that the targetEntityFrameworkVersion parameter uses internal Entity Framework version numbers as described in the class. An XmlReader that contains the CSDL. The TextWriter to which the object layer code is written. A list of XmlReader objects that contain schemas that are referenced by the source schema (the CSDL). If the source schema does not have any dependencies, pass in an empty IList object. The internal Entity Framework version that is being targeted. A list of objects that contains any generated errors. Generates object layer code using the conceptual schema definition language (CSDL) specified in the XmlReader object, and outputs the generated code to a TextWriter. Note that the targetEntityFrameworkVersion parameter uses internal EntityFramework version numbers as described in the class. An XmlReader that contains the CSDL. The TextWriter to which the object layer code is written. The internal Entity Framework version that is being targeted. A list of objects that contains any generated errors. Gets or sets a value that indicates the language of the generated code. One of the values. Provides information about different versions of the Entity Framework. Returns a stream of the XSD that corresponds to the specified Entity Framework version, with default model names as specified in the parameter. The property of that corresponds to the targeted version of the Entity Framework. The desired of the XSD. A of the XSD that corresponds to the specified Entity Framework version and . A read-only property that represents version 1 of the Entity Framework. A read-only property that represents version 2 of the Entity Framework. A read-only property that represents version 3 of the Entity Framework. 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. Initializes a new instance of the class. The storage model EntityContainer from which conceptual and mapping metadata is created. Initializes a new instance of the class. The storage model EntityContainer from which conceptual and mapping metadata is created. The name for the conceptual model namespace. If this value is null, the storeEntityContainer name is used for the namespace name. The EntityContainer name declared in the conceptual model. Constructs an EntityModelGenerator The StoreItemCollection that contains an EntityContainer and other items to create the Model Metadata from. The name to give the namespace. If null, the name of the storeEntityContainer will be used. The name to give the Model EntityContainer. If null, a modified version of the namespace of the of a type referenced in storeEntityContainer will be used. Gets the EdmItemCollection that was created by the GenerateMetadata method. An object that contains the conceptual schema definition language (CSDL). Gets the conceptual model EntityContainer that was created by the GenerateMetadata method. An object that contains the conceptual model EntityContainer. Gets or sets the flag for generating foreign key properties in a conceptual model. If the value of this property is set to then foreign key properties are generated in the conceptual model; otherwise foreign key properties are not generated in the conceptual model. Generates the conceptual model metadata information and returns any schema errors. A collection of schema error objects. Generates the conceptual model metadata information and returns any schema errors. The property of EntityFrameworkVersions that corresponds to the targeted version of the Entity Framework. A collection of schema error objects. Gets or sets the PluralizationService value that indicates the service used when generating a model. The value that indicates the service used when generating a model. Writes the generated conceptual schema definition language (CSDL) to the specified file. The name of the output file. Writes the generated conceptual schema definition language (CSDL) to an XmlWriter object. The XmlWriter to which the CSDL is written. Writes the generated mapping specification language (MSL) to the specified file. The name of the output file. Writes the generated mapping specification language (MSL) to an XmlWriter object. The XmlWriter to which the MSL is written. Specifies whether to allow or exclude database objects that match the pattern specified in the . Allow the entries that match the specified pattern. Exclude the entries that match the specified pattern. Represents a single filter entry. The filter is used to allow or exclude particular database objects during generation. Initializes a new instance of the class with the specified catalog, schema, and name filters. The pattern to use to select the appropriate catalog. The pattern to use to select the appropriate schema or null to not limit by schema. The pattern to use to select the appropriate name or null to not limit by name. Initializes a new instance of the class the specified catalog, schema, name, and type filters, and filter effect setting. The pattern to use to select the appropriate catalog or null to not limit by catalog. The pattern to use to select the appropriate schema or null to not limit by schema. The pattern to use to select the appropriate name or null to not limit by name. The type of objects to apply this filter to. An value indicating whether to allow or exclude entries that match the specified filters. Gets the pattern that will be used to select the appropriate catalog. The Catalog part of the database name where the database name is formatted as Catalog.Schema.Name. Gets the effect that this filter has on results. An value that indicates whether to allow or exclude entries that match the specified filters. Gets the pattern that will be used to select the appropriate name. The Name part of the database name where the database name is formatted as Catalog.Schema.Name. Gets the pattern that will be used to select the appropriate schema. The Schema part of the database name where the database name is formatted as Catalog.Schema.Name. Gets the types of objects that this filter applies to. An value indicating the types of objects to apply to the filter to. Specifies the store object type to apply the schema filter to. Apply the filter to all object types. Apply this filter to function object types. Initial value. This is not a valid value to apply. Apply the filter to table object types. Apply the filter to view object types. Responsible for Loading Database Schema Information. Initializes a new instance of the class. The invariant name of a provider. The connection used to open the database. The namespace name for the store schema definition language (SSDL). Creates an EntityConnection loaded with the providers metadata for the store schema. The invariant name of a provider. The connection for the providers connection. An EntityConnection that can query the ConceptualSchemaDefinition for the provider. Creates an EntityConnection loaded with the providers metadata for the store schema. Note that the targetEntityFrameworkVersion parameter uses internal EntityFramework version numbers as described in the class. The provider invariant name. The connection for the providers connection. The internal Entity Framework version that is being targeted. An EntityConnection that can query the ConceptualSchemaDefinition for the provider. Gets the storage model EntityContainer that was created. The storage model EntityContainer that was created. Gets or sets the flag for generating foreign key properties in a storage model. if foreign key properties are generated in the storage model; otherwise, . Generates store metadata and returns any schema errors. The collection of schema error objects. Generates store metadata and returns any schema errors. An EntityStoreSchemaFilterEntry that specifies which database objects to allow or exclude during generation. The collection of schema error objects. Generates store schema definition language (SSDL) and returns any schema errors. An EntityStoreSchemaFilterEntry that specifies which database objects to allow or exclude during generation. The property of EntityFrameworkVersions that corresponds to the targeted version of the Entity Framework. The collection of schema error objects. Gets the StoreItemCollection that was created. The created object. Writes the generated store schema definition language (SSDL) to a file. The name of the output file. Writes the generated store schema definition language (SSDL) to an XmlWriter object. The XmlWriter to which the SSDL is written. Generates views for the extents in the , and creates a source code file for a type that will cache these views. Initializes a new instance of the class with a language option. Initializes a new instance of the class with the specified . One of the values that specifies the language of the generated code. The default language is C#. Generates views at compile time for the extents in a . Sends a source code file to a to make these views available at run time. The from which views will be generated. The to which the generated code will be sent. A list that contains any generated errors. Generates views at compile time for the extents in a . Sends a source code file to a to make these views available at run time. The to be validated. The to which the output is written. The property of that corresponds to the targeted version of the Entity Framework. A list that contains any generated errors. Generates views at compile time for the extents in a . Writes a source code file to a specified location that makes the views available at run time. The from which views will be generated. The that specifies the location to which the source code file will be written. A list that contains any generated errors. Gets or sets a value that indicates the language of the generated code. One of the values. The default is . Validates a . The to be validated. A list that contains any generated errors. Validates a . The to be validated. The property of that corresponds to the targeted version of the Entity Framework. A list that contains any validation errors. Specifies the language for the generated code. C# code. This is the default. Visual Basic code. Represents the methods for the metadata publishing protocols. Gets the list of primitive types for the given version of Edm The item collection from which to retrieve the list of primitive types The version of edm to use Represents a set of methods for creating metadata instances. Creates an and loads the metadata that is contained in the of . An of that contains the metadata files. An of . Any errors that are generated during the creation are added to the list. An that contains the specified metadata. Creates an and loads the metadata that is contained in the of . An of that contains the metadata files. The property of that corresponds to the targeted version of the Entity Framework. An of . Any errors that are generated during the creation are added to the list. An that contains the specified metadata. Creates a and loads the metadata that is contained in the specified , , and collection of objects. An object. A object. An of containing the metadata files. An of . Any errors generated during the creation are added to the list. A that contains the specified metadata. Creates a from the mapping information in the objects and the metadata in the specified and objects. An object. A object. An of containing the metadata files. The property of that corresponds to the targeted version of the Entity Framework. An of . Any errors generated during the creation are added to the list. A that contains the specified metadata. Constructs a and provides a list of errors and warnings. A collection of objects, each of which each reads from a storage model file. The storage model file is written in the store schema definition language (SSDL). A list of errors that were encountered while loading the SSDL metadata. A that provides a list of errors and warnings. Constructs a and provides a list of errors and warnings. A collection of objects, each of which each reads from a storage model file. The storage model file is written in the store schema definition language (SSDL). The property of that corresponds to the targeted version of the Entity Framework. A list of errors that were encountered while loading the SSDL metadata. A that provides a list of errors and warnings. Represents a collection of the singular and plural forms of words. Adds singular and plural forms of a word to the object. The singular version of the word added to the object. The plural version of the word added to the object. Provides methods for constructing plural and singular forms of words. Initializes a new instance of the class. Creates a that applies language rules that correspond to the specified . The that corresponds to the language rules applied for singular and plural forms of words. The newly created object. Gets or sets the culture. An object that specifies which language rules to apply for singulars and plurals. Determines whether the specified word is plural. The value to be analyzed. if the word is plural; otherwise, . Determines whether the specified word is singular. The value to be analyzed. if the word is singular; otherwise, . Returns the plural form of the specified word The word to be made plural. The plural form of the input parameter. Returns the singular form of the specified word. The word to be made singular. The singular form of the input parameter. Provides data for the event. Initializes a new instance of the class. Initializes a new instance of the class with the specified property source, backing field name, and return type. The object that is the source of the property. The name of the field that backs the property. The base type of the property. Gets a of attributes that will be added to the property. A collection that contains the attributes that will be added to the property. The collection is empty if no attributes will be added. Gets a containing the get statements to be added to the property. A collection that contains the get statements to be added to the property. Gets a containing the set statements to be added to the property. A collection that contains the set statements to be added to the property. Gets the name of the field that backs the property. The name of the field that backs the property. This can be for navigation properties. Gets the object that is the source of the property. The object that is the source of the property. Gets or sets the type of the property. The type of the property. Represents the method that will handle the event. The source of the event. The data for the event. Provides data for the event. Initializes a new instance of the class. Initializes a new instance of the class with the specified source and base type. The source of the type. The base type. Gets a containing the attributes that will be added to the type. A collection that contains the attributes that will be added to the type. The collection is empty if no attributes will be added to the type. Gets a containing the interfaces that will be added to the type. A collection that contains the interfaces that will be added to the type. The collection is empty if no interfaces will be added. Gets a containing the members that will be added to the type. A collection that contains the members that will be added to the type. The collection is empty if no members will be added. Gets or sets the base type. The base type. The default is , , or , depending on the property value. Gets the object that is the source of the type. The object that is the source of the type. Represents the method that will handle the event. The source of the event. The data for the event.