EntityFrameworkVersions.GetSchemaXsd Method (Version, DataSpace)

.NET Framework (current version)
 

Returns a stream of the XSD that corresponds to the specified Entity Framework version, with default model names as specified in the dataSpace parameter.

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

public static Stream GetSchemaXsd(
	Version entityFrameworkVersion,
	DataSpace dataSpace
)

Parameters

entityFrameworkVersion
Type: System.Version

The property of EntityFrameworkVersions that corresponds to the targeted version of the Entity Framework.

dataSpace
Type: System.Data.Metadata.Edm.DataSpace

The desired DataSpace of the XSD.

Return Value

Type: System.IO.Stream

A Stream of the XSD that corresponds to the specified Entity Framework version and DataSpace.

.NET Framework
Available since 4.0
Return to top
Show: