Microsoft.OData.Client 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/

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.OData.Client -Version 6.2.0
dotnet add package Microsoft.OData.Client --version 6.2.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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.

Showing the top 8 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
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.
OData/ODataSamples
Samples: For ODataLib, OData Web API, RESTier, etc.
microsoft/Dynamics-AX-Integration
Dynamics AX Integration samples and demos.
znlgis/sod
PDF.NET 的追求:代码的精简,开发、维护的简单与极致的运行效率!

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
7.6.3 2,527 1/30/2020
7.6.2 13,051 11/21/2019
7.6.1 28,073 9/30/2019
7.6.1-beta 202 9/18/2019
7.6.0 97,088 6/5/2019
7.6.0-beta 992 4/1/2019
7.5.4 77,450 2/15/2019
7.5.3 35,369 12/19/2018
7.5.2 15,814 11/20/2018
7.5.1 98,490 9/17/2018
7.5.0 150,353 6/27/2018
7.4.4 66,521 4/4/2018
7.4.3 11,835 3/21/2018
7.4.1 18,173 2/16/2018
7.4.0 18,909 1/22/2018
7.4.0-beta3 488 1/12/2018
7.4.0-beta2 567 12/18/2017
7.4.0-beta 1,368 11/2/2017
6.19.0 146,585 11/14/2017
6.18.0 68,110 9/7/2017
6.18.0-beta 911 7/27/2017
6.17.0 106,864 6/12/2017
6.16.0 81,365 4/3/2017
6.16.0-beta 669 1/13/2017
6.15.0 615,461 3/18/2016
6.15.0-beta 963 1/25/2016
6.14.0 50,783 12/15/2015
6.14.0-rc2 597 12/2/2015
6.14.0-rc 787 10/30/2015
6.14.0-beta 443 10/16/2015
6.13.0 292,554 7/22/2015
6.13.0-rc 492 7/14/2015
6.13.0-beta 489 6/19/2015
6.12.0 87,439 5/22/2015
6.12.0-beta 689 5/15/2015
6.11.0 122,425 3/30/2015
6.10.0 27,874 2/6/2015
6.9.0 23,022 12/10/2014
6.8.1 129,680 10/20/2014
6.8.0 2,300 9/23/2014
6.7.0 3,504 8/29/2014
6.6.0 9,690 7/31/2014
6.5.0 6,742 6/30/2014
6.4.0 1,705 5/30/2014
6.3.0 3,387 4/28/2014
6.2.0 1,548 4/1/2014
6.1.0 805 3/4/2014
6.0.0 2,009 1/27/2014
6.0.0-beta1 758 12/9/2013
6.0.0-alpha2 729 11/7/2013
6.0.0-alpha1 867 10/4/2013
Show less