EntityModelSchemaGenerator Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Data.Entity.Design
Assembly:  System.Data.Entity.Design (in System.Data.Entity.Design.dll)

System.Object
  System.Data.Entity.Design.EntityModelSchemaGenerator

public sealed class EntityModelSchemaGenerator

NameDescription
System_CAPS_pubmethodEntityModelSchemaGenerator(EntityContainer)

Initializes a new instance of the EntityModelSchemaGenerator class.

System_CAPS_pubmethodEntityModelSchemaGenerator(EntityContainer, String, String)

Initializes a new instance of the EntityModelSchemaGenerator class.

System_CAPS_pubmethodEntityModelSchemaGenerator(StoreItemCollection, String, String)

Constructs an EntityModelGenerator

NameDescription
System_CAPS_pubpropertyEdmItemCollection

Gets the EdmItemCollection that was created by the GenerateMetadata method.

System_CAPS_pubpropertyEntityContainer

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

System_CAPS_pubpropertyGenerateForeignKeyProperties

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

System_CAPS_pubpropertyPluralizationService

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGenerateMetadata()

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

System_CAPS_pubmethodGenerateMetadata(Version)

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteModelSchema(String)

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

System_CAPS_pubmethodWriteModelSchema(XmlWriter)

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

System_CAPS_pubmethodWriteStorageMapping(String)

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

System_CAPS_pubmethodWriteStorageMapping(XmlWriter)

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

No content here will be updated; please do not add material here.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: