Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Parsing Inheritance: System.ObjectSyntax
Summary
Parses OData CSDL (Conceptual Schema Definition Language) XML documents into EDM models.Remarks
This parser handles CSDL XML documents that describe the structure of OData services, including entity types, complex types, entity containers, and their relationships. It supports OData specification versions 4.0 and later.Constructors
.ctor
Initializes a new instance of the CsdlParser class.Syntax
.ctor
Initializes a new instance of the CsdlParser class with the specified logger.Syntax
Parameters
.ctor Inherited
Inherited from
objectSyntax
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ParseFromFile
Parses a CSDL XML document from a file.Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Models.EdmModel
The parsed EDM model.
Exceptions
ParseFromStream
Parses a CSDL XML document from a stream.Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Models.EdmModel
The parsed EDM model.
Exceptions
ParseFromString
Parses a CSDL XML document from a string.Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Models.EdmModel
The parsed EDM model.
Exceptions
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
Related APIs
- Microsoft.OData.Mcp.Core.Parsing.ICsdlMetadataParser