Edit

Share via


EntityFrameworkVersions.GetSchemaXsd(Version, DataSpace) Method

Definition

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

public:
 static System::IO::Stream ^ GetSchemaXsd(Version ^ entityFrameworkVersion, System::Data::Metadata::Edm::DataSpace dataSpace);
public static System.IO.Stream GetSchemaXsd (Version entityFrameworkVersion, System.Data.Metadata.Edm.DataSpace dataSpace);
static member GetSchemaXsd : Version * System.Data.Metadata.Edm.DataSpace -> System.IO.Stream
Public Shared Function GetSchemaXsd (entityFrameworkVersion As Version, dataSpace As DataSpace) As Stream

Parameters

entityFrameworkVersion
Version

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

dataSpace
DataSpace

The desired DataSpace of the XSD.

Returns

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

Applies to