EntityViewGenerator.GenerateViews Method (StorageMappingItemCollection, String)


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

Generates views at compile time for the extents in a StorageMappingItemCollection. Writes a source code file to a specified location that makes the views available at run time.

This API is not CLS-compliant.

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

public IList<EdmSchemaError> GenerateViews(
	StorageMappingItemCollection mappingCollection,
	string outputPath


Type: System.Data.Mapping.StorageMappingItemCollection

The StorageMappingItemCollection from which views will be generated.

Type: System.String

The String that specifies the location to which the source code file will be written.

Return Value

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

A list that contains any generated errors.

.NET Framework
Available since 3.5
Return to top