EntityViewGenerator.GenerateViews Method (StorageMappingItemCollection, TextWriter)

 
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.

Generates views at compile time for the extents in a StorageMappingItemCollection. Sends a source code file to a TextWriter to make these 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)

[CLSCompliantAttribute(false)]
public IList<EdmSchemaError> GenerateViews(
	StorageMappingItemCollection mappingCollection,
	TextWriter outputWriter
)

Parameters

mappingCollection
Type: System.Data.Mapping.StorageMappingItemCollection

The StorageMappingItemCollection from which views will be generated.

outputWriter
Type: System.IO.TextWriter

The TextWriter to which the generated code will be sent.

Return Value

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

A list that contains any generated errors.

.NET Framework
Available since 3.5
Return to top
Show: