Edit

Share via


EntityModelSchemaGenerator Constructors

Definition

Initializes a new instance of the EntityModelSchemaGenerator class.

Overloads

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.

EntityModelSchemaGenerator(EntityContainer)

Initializes a new instance of the EntityModelSchemaGenerator class.

public:
 EntityModelSchemaGenerator(System::Data::Metadata::Edm::EntityContainer ^ storeEntityContainer);
public EntityModelSchemaGenerator (System.Data.Metadata.Edm.EntityContainer storeEntityContainer);
new System.Data.Entity.Design.EntityModelSchemaGenerator : System.Data.Metadata.Edm.EntityContainer -> System.Data.Entity.Design.EntityModelSchemaGenerator
Public Sub New (storeEntityContainer As EntityContainer)

Parameters

storeEntityContainer
EntityContainer

The storage model EntityContainer from which conceptual and mapping metadata is created.

Applies to

EntityModelSchemaGenerator(EntityContainer, String, String)

Initializes a new instance of the EntityModelSchemaGenerator class.

public:
 EntityModelSchemaGenerator(System::Data::Metadata::Edm::EntityContainer ^ storeEntityContainer, System::String ^ namespaceName, System::String ^ modelEntityContainerName);
public EntityModelSchemaGenerator (System.Data.Metadata.Edm.EntityContainer storeEntityContainer, string namespaceName, string modelEntityContainerName);
new System.Data.Entity.Design.EntityModelSchemaGenerator : System.Data.Metadata.Edm.EntityContainer * string * string -> System.Data.Entity.Design.EntityModelSchemaGenerator
Public Sub New (storeEntityContainer As EntityContainer, namespaceName As String, modelEntityContainerName As String)

Parameters

storeEntityContainer
EntityContainer

The storage model EntityContainer from which conceptual and mapping metadata is created.

namespaceName
String

The name for the conceptual model namespace. If this value is null, the storeEntityContainer name is used for the namespace name.

modelEntityContainerName
String

The EntityContainer name declared in the conceptual model.

Applies to

EntityModelSchemaGenerator(StoreItemCollection, String, String)

Important

This API is not CLS-compliant.

Constructs an EntityModelGenerator.

public:
 EntityModelSchemaGenerator(System::Data::Metadata::Edm::StoreItemCollection ^ storeItemCollection, System::String ^ namespaceName, System::String ^ modelEntityContainerName);
[System.CLSCompliant(false)]
public EntityModelSchemaGenerator (System.Data.Metadata.Edm.StoreItemCollection storeItemCollection, string namespaceName, string modelEntityContainerName);
[<System.CLSCompliant(false)>]
new System.Data.Entity.Design.EntityModelSchemaGenerator : System.Data.Metadata.Edm.StoreItemCollection * string * string -> System.Data.Entity.Design.EntityModelSchemaGenerator
Public Sub New (storeItemCollection As StoreItemCollection, namespaceName As String, modelEntityContainerName As String)

Parameters

storeItemCollection
StoreItemCollection

The StoreItemCollection that contains an EntityContainer and other items to create the Model Metadata from.

namespaceName
String

The name to give the namespace. If null, the name of the storeEntityContainer will be used.

modelEntityContainerName
String

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.

Attributes

Applies to