Jaa


CsdlReader.Parse Method

Definition

Overloads

Parse(Utf8JsonReader)

Returns an IEdmModel for the given CSDL-JSON artifact.

Parse(XmlReader)

Returns an IEdmModel for the given CSDL artifact.

Parse(Utf8JsonReader, CsdlJsonReaderSettings)

Returns an IEdmModel for the given CSDL-JSON artifact.

Parse(XmlReader, IEdmModel)

Returns an IEdmModel for the given CSDL artifact.

Parse(XmlReader, IEnumerable<IEdmModel>)

Returns an IEdmModel for the given CSDL artifact.

Parse(XmlReader, Func<Uri,XmlReader>)

Returns an IEdmModel for the given CSDL artifact.

Parse(Utf8JsonReader)

Returns an IEdmModel for the given CSDL-JSON artifact.

public static Microsoft.OData.Edm.IEdmModel Parse (ref System.Text.Json.Utf8JsonReader reader);
static member Parse : Utf8JsonReader -> Microsoft.OData.Edm.IEdmModel
Public Shared Function Parse (ByRef reader As Utf8JsonReader) As IEdmModel

Parameters

reader
Utf8JsonReader

The given JSON reader containing the CSDL artifact.

Returns

The model generated by parsing.

Applies to

Parse(XmlReader)

Returns an IEdmModel for the given CSDL artifact.

public static Microsoft.OData.Edm.IEdmModel Parse (System.Xml.XmlReader reader);
static member Parse : System.Xml.XmlReader -> Microsoft.OData.Edm.IEdmModel
Public Shared Function Parse (reader As XmlReader) As IEdmModel

Parameters

reader
XmlReader

XmlReader containing the CSDL artifact.

Returns

The model generated by parsing.

Applies to

Parse(Utf8JsonReader, CsdlJsonReaderSettings)

Returns an IEdmModel for the given CSDL-JSON artifact.

public static Microsoft.OData.Edm.IEdmModel Parse (ref System.Text.Json.Utf8JsonReader reader, Microsoft.OData.Edm.Csdl.CsdlJsonReaderSettings settings);
static member Parse : Utf8JsonReader * Microsoft.OData.Edm.Csdl.CsdlJsonReaderSettings -> Microsoft.OData.Edm.IEdmModel
Public Shared Function Parse (ByRef reader As Utf8JsonReader, settings As CsdlJsonReaderSettings) As IEdmModel

Parameters

reader
Utf8JsonReader

The given JSON reader containing the CSDL artifact.

settings
CsdlJsonReaderSettings

The CSDL-JSON reader settings.

Returns

The model generated by parsing.

Applies to

Parse(XmlReader, IEdmModel)

Returns an IEdmModel for the given CSDL artifact.

public static Microsoft.OData.Edm.IEdmModel Parse (System.Xml.XmlReader reader, Microsoft.OData.Edm.IEdmModel referencedModel);
static member Parse : System.Xml.XmlReader * Microsoft.OData.Edm.IEdmModel -> Microsoft.OData.Edm.IEdmModel
Public Shared Function Parse (reader As XmlReader, referencedModel As IEdmModel) As IEdmModel

Parameters

reader
XmlReader

XmlReader containing the CSDL artifact.

referencedModel
IEdmModel

Model to be referenced by the created model.

Returns

The model generated by parsing.

Applies to

Parse(XmlReader, IEnumerable<IEdmModel>)

Returns an IEdmModel for the given CSDL artifact.

public static Microsoft.OData.Edm.IEdmModel Parse (System.Xml.XmlReader reader, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmModel> referencedModels);
static member Parse : System.Xml.XmlReader * seq<Microsoft.OData.Edm.IEdmModel> -> Microsoft.OData.Edm.IEdmModel
Public Shared Function Parse (reader As XmlReader, referencedModels As IEnumerable(Of IEdmModel)) As IEdmModel

Parameters

reader
XmlReader

XmlReader containing the EDMX artifact.

referencedModels
IEnumerable<IEdmModel>

Models to be referenced by the created model.

Returns

The model generated by parsing.

Applies to

Parse(XmlReader, Func<Uri,XmlReader>)

Returns an IEdmModel for the given CSDL artifact.

public static Microsoft.OData.Edm.IEdmModel Parse (System.Xml.XmlReader reader, Func<Uri,System.Xml.XmlReader> getReferencedModelReaderFunc);
static member Parse : System.Xml.XmlReader * Func<Uri, System.Xml.XmlReader> -> Microsoft.OData.Edm.IEdmModel
Public Shared Function Parse (reader As XmlReader, getReferencedModelReaderFunc As Func(Of Uri, XmlReader)) As IEdmModel

Parameters

reader
XmlReader

XmlReader containing the CSDL artifact.

getReferencedModelReaderFunc
Func<Uri,XmlReader>

The function to load referenced model xml. If null, will stop loading the referenced model.

Returns

The model generated by parsing.

Applies to