Share via


StorageMappingItemCollection.GenerateViews Method

Definition

Overloads

GenerateViews(IList<EdmSchemaError>)

Creates a dictionary of (extent, generated view) for the single container mapping in the collection.

GenerateViews(String, String, IList<EdmSchemaError>)

Creates a dictionary of (extent, generated view) for a container mapping specified by the names of the mapped containers.

GenerateViews(IList<EdmSchemaError>)

Creates a dictionary of (extent, generated view) for the single container mapping in the collection.

public System.Collections.Generic.Dictionary<System.Data.Entity.Core.Metadata.Edm.EntitySetBase,System.Data.Entity.Infrastructure.MappingViews.DbMappingView> GenerateViews (System.Collections.Generic.IList<System.Data.Entity.Core.Metadata.Edm.EdmSchemaError> errors);
member this.GenerateViews : System.Collections.Generic.IList<System.Data.Entity.Core.Metadata.Edm.EdmSchemaError> -> System.Collections.Generic.Dictionary<System.Data.Entity.Core.Metadata.Edm.EntitySetBase, System.Data.Entity.Infrastructure.MappingViews.DbMappingView>
Public Function GenerateViews (errors As IList(Of EdmSchemaError)) As Dictionary(Of EntitySetBase, DbMappingView)

Parameters

errors
IList<EdmSchemaError>

A list that accumulates potential errors.

Returns

A dictionary of (EntitySetBase, DbMappingView) that specifies the generated views.

Applies to

GenerateViews(String, String, IList<EdmSchemaError>)

Creates a dictionary of (extent, generated view) for a container mapping specified by the names of the mapped containers.

public System.Collections.Generic.Dictionary<System.Data.Entity.Core.Metadata.Edm.EntitySetBase,System.Data.Entity.Infrastructure.MappingViews.DbMappingView> GenerateViews (string conceptualModelContainerName, string storeModelContainerName, System.Collections.Generic.IList<System.Data.Entity.Core.Metadata.Edm.EdmSchemaError> errors);
member this.GenerateViews : string * string * System.Collections.Generic.IList<System.Data.Entity.Core.Metadata.Edm.EdmSchemaError> -> System.Collections.Generic.Dictionary<System.Data.Entity.Core.Metadata.Edm.EntitySetBase, System.Data.Entity.Infrastructure.MappingViews.DbMappingView>
Public Function GenerateViews (conceptualModelContainerName As String, storeModelContainerName As String, errors As IList(Of EdmSchemaError)) As Dictionary(Of EntitySetBase, DbMappingView)

Parameters

conceptualModelContainerName
String

The name of a container in the conceptual model.

storeModelContainerName
String

The name of a container in the store model.

errors
IList<EdmSchemaError>

A list that accumulates potential errors.

Returns

A dictionary of (EntitySetBase, DbMappingView) that specifies the generated views.

Applies to