EntityModelSchemaGenerator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class EntityModelSchemaGenerator sealed
public sealed class EntityModelSchemaGenerator
type EntityModelSchemaGenerator = class
Public NotInheritable Class EntityModelSchemaGenerator
- Inheritance
-
EntityModelSchemaGenerator
Constructors
EntityModelSchemaGenerator(EntityContainer) |
Initializes a new instance of the EntityModelSchemaGenerator class. |
EntityModelSchemaGenerator(EntityContainer, String, String) |
Initializes a new instance of the EntityModelSchemaGenerator class. |
EntityModelSchemaGenerator(StoreItemCollection, String, String) |
Constructs an EntityModelGenerator. |
Properties
EdmItemCollection |
Gets the EdmItemCollection that was created by the GenerateMetadata method. |
EntityContainer |
Gets the conceptual model EntityContainer that was created by the GenerateMetadata method. |
GenerateForeignKeyProperties |
Gets or sets the flag for generating foreign key properties in a conceptual model. |
PluralizationService |
Gets or sets the PluralizationService value that indicates the service used when generating a model. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GenerateMetadata() |
Generates the conceptual model metadata information and returns any schema errors. |
GenerateMetadata(Version) |
Generates the conceptual model metadata information and returns any schema errors. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
WriteModelSchema(String) |
Writes the generated conceptual schema definition language (CSDL) to the specified file. |
WriteModelSchema(XmlWriter) |
Writes the generated conceptual schema definition language (CSDL) to an XmlWriter object. |
WriteStorageMapping(String) |
Writes the generated mapping specification language (MSL) to the specified file. |
WriteStorageMapping(XmlWriter) |
Writes the generated mapping specification language (MSL) to an XmlWriter object. |