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.
#r "nuget: Microsoft.OData.Client, 6.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.OData.Client as a Cake Addin
#addin nuget:?package=Microsoft.OData.Client&version=6.4.0

// Install Microsoft.OData.Client as a Cake Tool
#tool nuget:?package=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(@"https://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”.

NuGet packages (47)

Showing the top 5 NuGet packages that depend on Microsoft.OData.Client:

Package Downloads
Microsoft.OData.ProxyExtensions
.NET helper classes for developing OData service Client Libraries. Learn more about how to use this library @ https://github.com/Microsoft/Vipr/.
Microsoft.Office365.SharePoint
.NET Client Library for Office 365 My Files API. Learn more about how to use this library @ http://aka.ms/ClientLibraries.
Microsoft.Office365.OutlookServices
.NET Client Library for Office 365 Mail, Calendar and Contacts API. Learn more about how to use this library at: https://dev.outlook.com/RestGettingStarted/Tutorial/dotnet.
BumperLane.Public.Api.Client
Client framework for Virteom APIs.
Microsoft.Office365.OutlookServices-V2.0
.NET Client Library for Office 365 Mail, Calendar and Contacts API. Learn more about how to use this library at: https://dev.outlook.com/RestGettingStarted/Tutorial/dotnet.

GitHub repositories (9)

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

Repository Stars
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Legacy solutions
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
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.

Version History

Version Downloads Last updated
7.9.0 31,656 5/12/2021
7.8.3 42,746 3/3/2021
7.8.2 16,922 2/15/2021
7.8.1 39,565 12/18/2020
7.7.3 25,228 11/12/2020
7.7.2 76,274 9/23/2020
7.7.1 24,402 9/1/2020
7.7.0 48,361 6/26/2020
7.7.0-beta 486 5/29/2020
7.6.4 137,217 3/25/2020
7.6.3 115,455 1/30/2020
7.6.2 88,461 11/21/2019
7.6.1 159,872 9/30/2019
7.6.1-beta 425 9/18/2019
7.6.0 171,933 6/5/2019
7.6.0-beta 1,349 4/1/2019
7.5.4 147,384 2/15/2019
7.5.3 84,216 12/19/2018
7.5.2 28,570 11/20/2018
7.5.1 198,197 9/17/2018
7.5.0 307,664 6/27/2018
7.4.4 96,038 4/4/2018
7.4.3 18,109 3/21/2018
7.4.1 40,009 2/16/2018
7.4.0 49,756 1/22/2018
7.4.0-beta3 1,739 1/12/2018
7.4.0-beta2 880 12/18/2017
7.4.0-beta 1,683 11/2/2017
6.19.0 240,888 11/14/2017
6.18.0 83,001 9/7/2017
6.18.0-beta 1,214 7/27/2017
6.17.0 180,369 6/12/2017
6.16.0 126,946 4/3/2017
6.16.0-beta 964 1/13/2017
6.15.0 901,690 3/18/2016
6.15.0-beta 1,269 1/25/2016
6.14.0 66,200 12/15/2015
6.14.0-rc2 916 12/2/2015
6.14.0-rc 1,209 10/30/2015
6.14.0-beta 750 10/16/2015
6.13.0 405,639 7/22/2015
6.13.0-rc 813 7/14/2015
6.13.0-beta 806 6/19/2015
6.12.0 132,362 5/22/2015
6.12.0-beta 1,020 5/15/2015
6.11.0 175,485 3/30/2015
6.10.0 44,184 2/6/2015
6.9.0 29,035 12/10/2014
6.8.1 173,906 10/20/2014
6.8.0 2,778 9/23/2014
6.7.0 3,946 8/29/2014
6.6.0 10,160 7/31/2014
6.5.0 8,356 6/30/2014
6.4.0 2,113 5/30/2014
6.3.0 3,897 4/28/2014
6.2.0 2,056 4/1/2014
6.1.0 1,188 3/4/2014
6.0.0 2,671 1/27/2014
6.0.0-beta1 1,111 12/9/2013
6.0.0-alpha2 1,059 11/7/2013
6.0.0-alpha1 1,203 10/4/2013
Show less