Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.ParsingSyntax
Summary
Interface for parsing OData CSDL (Conceptual Schema Definition Language) XML documents into EDM models.Remarks
This interface abstracts the parsing of 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.Methods
ParseFromFile Abstract
Parses a CSDL XML document from a file.Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Models.EdmModel
The parsed EDM model.
Exceptions
ParseFromStream Abstract
Parses a CSDL XML document from a stream.Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Models.EdmModel
The parsed EDM model.
Exceptions
ParseFromString Abstract
Parses a CSDL XML document from a string.Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Models.EdmModel
The parsed EDM model.