EntityModelSchemaGenerator EntityModelSchemaGenerator EntityModelSchemaGenerator EntityModelSchemaGenerator Class

Definition

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
EntityModelSchemaGeneratorEntityModelSchemaGeneratorEntityModelSchemaGeneratorEntityModelSchemaGenerator

Constructors

EntityModelSchemaGenerator(EntityContainer) EntityModelSchemaGenerator(EntityContainer) EntityModelSchemaGenerator(EntityContainer) EntityModelSchemaGenerator(EntityContainer)

Initializes a new instance of the EntityModelSchemaGenerator class.

EntityModelSchemaGenerator(EntityContainer, String, String) EntityModelSchemaGenerator(EntityContainer, String, String) EntityModelSchemaGenerator(EntityContainer, String, String) EntityModelSchemaGenerator(EntityContainer, String, String)

Initializes a new instance of the EntityModelSchemaGenerator class.

EntityModelSchemaGenerator(StoreItemCollection, String, String) EntityModelSchemaGenerator(StoreItemCollection, String, String) EntityModelSchemaGenerator(StoreItemCollection, String, String) EntityModelSchemaGenerator(StoreItemCollection, String, String)

Constructs an EntityModelGenerator

Properties

EdmItemCollection EdmItemCollection EdmItemCollection EdmItemCollection

Gets the EdmItemCollection that was created by the GenerateMetadata method.

EntityContainer EntityContainer EntityContainer EntityContainer

Gets the conceptual model EntityContainer that was created by the GenerateMetadata method.

GenerateForeignKeyProperties GenerateForeignKeyProperties GenerateForeignKeyProperties GenerateForeignKeyProperties

Gets or sets the flag for generating foreign key properties in a conceptual model.

PluralizationService PluralizationService PluralizationService PluralizationService

Gets or sets the PluralizationService value that indicates the service used when generating a model.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GenerateMetadata() GenerateMetadata() GenerateMetadata() GenerateMetadata()

Generates the conceptual model metadata information and returns any schema errors.

GenerateMetadata(Version) GenerateMetadata(Version) GenerateMetadata(Version) GenerateMetadata(Version)

Generates the conceptual model metadata information and returns any schema errors.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteModelSchema(String) WriteModelSchema(String) WriteModelSchema(String) WriteModelSchema(String)

Writes the generated conceptual schema definition language (CSDL) to the specified file.

WriteModelSchema(XmlWriter) WriteModelSchema(XmlWriter) WriteModelSchema(XmlWriter) WriteModelSchema(XmlWriter)

Writes the generated conceptual schema definition language (CSDL) to an XmlWriter object.

WriteStorageMapping(String) WriteStorageMapping(String) WriteStorageMapping(String) WriteStorageMapping(String)

Writes the generated mapping specification language (MSL) to the specified file.

WriteStorageMapping(XmlWriter) WriteStorageMapping(XmlWriter) WriteStorageMapping(XmlWriter) WriteStorageMapping(XmlWriter)

Writes the generated mapping specification language (MSL) to an XmlWriter object.

Applies to