StorageMappingItemCollection.GenerateViews Method

 

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

Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodGenerateViews(IList<EdmSchemaError>)

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

System_CAPS_pubmethodGenerateViews(String, String, IList<EdmSchemaError>)

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


StorageMappingItemCollection.GenerateViews Method (IList<EdmSchemaError>)

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

public Dictionary<EntitySetBase, DbMappingView> GenerateViews(
	IList<EdmSchemaError> errors
)

Parameters

errors
Type: System.Collections.Generic.IList<EdmSchemaError>

A list that accumulates potential errors.

Return Value

Type: System.Collections.Generic.Dictionary<EntitySetBase, DbMappingView>

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


StorageMappingItemCollection.GenerateViews Method (String, String, IList<EdmSchemaError>)

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

public Dictionary<EntitySetBase, DbMappingView> GenerateViews(
	string conceptualModelContainerName,
	string storeModelContainerName,
	IList<EdmSchemaError> errors
)

Parameters

conceptualModelContainerName
Type: System.String

The name of a container in the conceptual model.

storeModelContainerName
Type: System.String

The name of a container in the store model.

errors
Type: System.Collections.Generic.IList<EdmSchemaError>

A list that accumulates potential errors.

Return Value

Type: System.Collections.Generic.Dictionary<EntitySetBase, DbMappingView>

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