Microsoft.OData.Client 6.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.OData.Client --version 6.2.0                
NuGet\Install-Package Microsoft.OData.Client -Version 6.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.OData.Client" Version="6.2.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.2.0                
#r "nuget: Microsoft.OData.Client, 6.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.2.0

// Install Microsoft.OData.Client as a Cake Tool
#tool nuget:?package=Microsoft.OData.Client&version=6.2.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/

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (84)

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/.

BizDoc.Core

Workflow framework engine

Microsoft.OData.Extensions.Client.Abstractions

This package contains the abstract codes you need to create OData client.

BumperLane.Public.Api.Client

Client framework for Virteom APIs.

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.

GitHub repositories (13)

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

Repository Stars
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
OfficeDev/Microsoft-Teams-Samples
Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
OData/odata.net
ODataLib: Open Data Protocol - .NET Libraries and Frameworks
Version Downloads Last updated
8.0.0-rc.1 154 7/11/2024
8.0.0-preview.3 502 5/31/2024
8.0.0-preview.2 265 5/3/2024
8.0.0-preview.1 130 4/26/2024
7.21.3 38,926 6/3/2024
7.21.2 9,633 5/23/2024
7.21.1 24,559 5/2/2024
7.21.0 26,021 4/17/2024
7.20.0 287,021 12/8/2023
7.19.0 22,006 11/30/2023
7.18.0 268,713 9/6/2023
7.17.0 182,102 6/23/2023
7.16.0 121,036 5/16/2023
7.15.0 197,494 3/1/2023
7.14.1 29,903 2/15/2023
7.14.0 139,386 1/11/2023
7.13.0 62,064 12/9/2022
7.12.5 186,701 10/25/2022
7.12.4 77,962 10/18/2022
7.12.3 165,638 9/19/2022
7.12.2 91,879 8/12/2022
7.12.1 91,216 7/20/2022
7.12.0 95,829 6/21/2022
7.11.1 10,060 6/16/2022
7.10.0 396,824 1/31/2022
7.9.4 500,816 11/5/2021
7.9.3 80,160 10/8/2021
7.9.2 84,894 9/14/2021
7.9.1 55,624 8/26/2021
7.9.0 396,902 5/12/2021
7.8.3 362,624 3/3/2021
7.8.2 68,777 2/15/2021
7.8.1 164,355 12/18/2020
7.7.3 159,881 11/12/2020
7.7.2 163,088 9/23/2020
7.7.1 93,905 9/1/2020
7.7.0 224,064 6/26/2020
7.7.0-beta 802 5/29/2020
7.6.4 257,778 3/25/2020
7.6.3 259,102 1/30/2020
7.6.2 114,622 11/21/2019
7.6.1 253,778 9/30/2019
7.6.1-beta 723 9/18/2019
7.6.0 245,138 6/5/2019
7.6.0-beta 1,726 4/1/2019
7.5.4 276,967 2/15/2019
7.5.3 136,599 12/19/2018
7.5.2 46,869 11/20/2018
7.5.1 300,316 9/17/2018
7.5.0 554,277 6/27/2018
7.4.4 152,744 4/4/2018
7.4.3 33,587 3/21/2018
7.4.1 66,462 2/16/2018
7.4.0 131,378 1/22/2018
7.4.0-beta3 4,233 1/12/2018
7.4.0-beta2 1,240 12/18/2017
7.4.0-beta 2,094 11/2/2017
6.19.0 376,293 11/14/2017
6.18.0 90,869 9/7/2017
6.18.0-beta 1,532 7/27/2017
6.17.0 352,510 6/12/2017
6.16.0 148,524 4/3/2017
6.16.0-beta 1,310 1/13/2017
6.15.0 1,394,414 3/18/2016
6.15.0-beta 1,633 1/25/2016
6.14.0 81,896 12/15/2015
6.14.0-rc2 1,351 12/2/2015
6.14.0-rc 2,383 10/30/2015
6.14.0-beta 1,089 10/16/2015
6.13.0 629,168 7/22/2015
6.13.0-rc 1,254 7/14/2015
6.13.0-beta 1,137 6/19/2015
6.12.0 190,022 5/22/2015
6.12.0-beta 1,428 5/15/2015
6.11.0 283,106 3/30/2015
6.10.0 59,349 2/6/2015
6.9.0 32,764 12/10/2014
6.8.1 262,424 10/20/2014
6.8.0 3,502 9/23/2014
6.7.0 4,832 8/29/2014
6.6.0 10,989 7/31/2014
6.5.0 10,946 6/30/2014
6.4.0 2,808 5/30/2014
6.3.0 5,033 4/28/2014
6.2.0 2,887 4/1/2014
6.1.0 1,921 3/4/2014
6.0.0 9,398 1/27/2014
6.0.0-beta1 1,576 12/9/2013
6.0.0-alpha2 1,446 11/7/2013
6.0.0-alpha1 1,597 10/4/2013

What is in the release:

Bug fixes:

•   Fixed a bug for parsing $it in UriParser

•   Improved the JSON serialization performance for unindented format

New Features:

•   ODataLib & EdmLib now supports complex type inheritance and open complex type.

•   ODataLib & EdmLib now supports open collection property in entity and complex type.

•   OData Client now supports property level change tracking for PATCH.
DataServiceCollection now supports property level change tracking. By default only changed properties will be included in the payload for update (PATCH) operations, unless you explicitly use SaveChangesOptions.ReplaceOnUpdate when calling SaveChanges(). The entity level change tracking behavior is not changed in DataServiceCollection.

•   OData Client supports using different type/property name than the name in metadata by OrginalNameAttribute
Previously the type and property name in proxy class must be same as metadata. Now you can use over-write the type/property name by using OriginalNameAttribute:

   [global::Microsoft.OData.Client.OriginalNameAttribute("product")]    
   public partial class Product
   {
       // Using camel case in metadata
       [global::Microsoft.OData.Client.OriginalNameAttribute("name")]
       // Using Pascal case in proxy class
       public string Name
       {
           get;
           set;
       }
   }

•   ODataLib support generating ServiceDocument from EdmModel directly by extension method GenerateServiceDocument().

Known Issues:

•   Type casting for complex type in $filter and $select is not supported.

•   Reading individual property of derived complex type directly by OData Client is not supported.