Microsoft.OData.Client 6.4.0

LINQ-enabled client API for issuing OData queries and consuming OData JSON payloads. Supports OData v4 only. Targets .NET 4.0, and .NET Portable Lib with support for .NET 4.5, SL 5.0, Win Phone 8, and Win 8. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.
OData .NET library is open source at https://odata.codeplex.com/

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.OData.Client -Version 6.4.0
dotnet add package Microsoft.OData.Client --version 6.4.0
<PackageReference Include="Microsoft.OData.Client" Version="6.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.OData.Client --version 6.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

New Features
•        ODataLib supports write & read async headers & payload.
•        OData Client supports model reference.
•        OData Client supports using enum in query options & operation parameter.
•        Improves the API of OData client for server-side paging support.
         Sample:
             NorthwindEntities ctx = new NorthwindEntities(
                 new Uri(@"http://services.odata.org/V4/Northwind/Northwind.svc/"));
             var customers = ctx.Customers.GetAllPages(); // automatically get all pages of the Customers entity set  
             foreach (var customer in customers)
             {
                 Console.WriteLine(customer.CustomerID);
             }

•        ODataUriParser supports more type for ‘cast’ in $filter.
•        OData Client supports new async API in .NET 4.0 format.
         Sample:
             var customers = await ctx.Customers.ExecuteAsync();

Bug Fixs
•        Fix a bug for top level dynamic property payload don’t have @odata.type annotation.
•        Fix a bug for Core annotation is not written in full namespace. For example term value will be “Org.OData.Core.V1.Description” instead of “Core.Description”.

Showing the top 6 GitHub repositories that depend on Microsoft.OData.Client:

Repository Stars
SharePoint/PnP
SharePoint / Office 365 Developer Patterns and Practices
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
OData/odata.net
ODataLib: Open Data Protocol - .NET Libraries and Frameworks
telerik/xaml-sdk
The XAML SDK is an easy-to-use infrastructure with 1000+ developer focused examples for most of the Telerik WPF and Silverlight controls.
OData/ODataSamples
Samples: For ODataLib, OData Web API, RESTier, etc.
microsoft/Dynamics-AX-Integration
Dynamics AX Integration samples and demos.

Version History

Version Downloads Last updated
7.6.1 1,805 9/30/2019
7.6.1-beta 168 9/18/2019
7.6.0 39,844 6/5/2019
7.6.0-beta 841 4/1/2019
7.5.4 56,556 2/15/2019
7.5.3 22,452 12/19/2018
7.5.2 13,676 11/20/2018
7.5.1 77,038 9/17/2018
7.5.0 117,530 6/27/2018
7.4.4 58,373 4/4/2018
7.4.3 10,040 3/21/2018
7.4.1 14,131 2/16/2018
7.4.0 16,669 1/22/2018
7.4.0-beta3 440 1/12/2018
7.4.0-beta2 520 12/18/2017
7.4.0-beta 1,325 11/2/2017
6.19.0 123,643 11/14/2017
6.18.0 64,620 9/7/2017
6.18.0-beta 873 7/27/2017
6.17.0 95,972 6/12/2017
6.16.0 65,790 4/3/2017
6.16.0-beta 625 1/13/2017
6.15.0 541,186 3/18/2016
6.15.0-beta 916 1/25/2016
6.14.0 46,747 12/15/2015
6.14.0-rc2 558 12/2/2015
6.14.0-rc 742 10/30/2015
6.14.0-beta 404 10/16/2015
6.13.0 262,312 7/22/2015
6.13.0-rc 444 7/14/2015
6.13.0-beta 450 6/19/2015
6.12.0 77,024 5/22/2015
6.12.0-beta 631 5/15/2015
6.11.0 110,345 3/30/2015
6.10.0 23,156 2/6/2015
6.9.0 21,911 12/10/2014
6.8.1 121,535 10/20/2014
6.8.0 2,199 9/23/2014
6.7.0 3,422 8/29/2014
6.6.0 9,590 7/31/2014
6.5.0 5,877 6/30/2014
6.4.0 1,640 5/30/2014
6.3.0 3,309 4/28/2014
6.2.0 1,482 4/1/2014
6.1.0 747 3/4/2014
6.0.0 1,871 1/27/2014
6.0.0-beta1 704 12/9/2013
6.0.0-alpha2 678 11/7/2013
6.0.0-alpha1 734 10/4/2013
Show less