Net.Http.OData is a .NET Standard library which makes it easy to consume an OData 4.0 Query.
Branch | Status |
---|---|
/develop | |
/master |
Install the nuget package dotnet add package Net.Http.OData
or Install-Package Net.Http.OData
The Entity Data Model describes the entitites in the OData service, the classes are in the namespace Net.Http.OData.Model.
The Query classes describe an OData Query request, the classes are in the namespace Net.Http.OData.Query.
Also see:
- Parsing Query Options for details of how to parse the
ODataQueryOptions
class. - Supported Query Syntax for details of the OData query syntax supported by the library.
For further details regarding the OData 4.0 specification, see:
The NuGet Package contains binaries compiled against:
- .NET Standard 2.0
- Has an implicit dependency on Newtonsoft.Json 10.0.1 or later due to the internal use of the JsonPropertyAttribute
- Has an implicit dependency on System.Text.Json 4.6.0 or later due to the internal use of the JsonPropertyNameAttribute
- .NET Framework 4.5
- Has an implicit dependency on Newtonsoft.Json 6.0.4 or later due to the internal use of the JsonPropertyAttribute
To find out more, head over to the Wiki.