Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EntityFrameworkVersions.GetSchemaXsd Method

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft