Microsoft.OData.Core 6.2.0

Classes to serialize, deserialize and validate OData JSON payloads. Supports OData v4 only. Enables construction of OData producers and consumers. Targets .NET Portable Lib with support for .NET 4.0, 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.Core -Version 6.2.0
dotnet add package Microsoft.OData.Core --version 6.2.0
<PackageReference Include="Microsoft.OData.Core" 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.Core --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 10 GitHub repositories that depend on Microsoft.OData.Core:

Repository Stars
SharePoint/PnP
SharePoint / Office 365 Developer Patterns and Practices
Squidex/squidex
Headless CMS and Content Managment Hub
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
OData/odata.net
ODataLib: Open Data Protocol - .NET Libraries and Frameworks
microsoft/BotFramework-Samples
Welcome to the Bot Framework samples repository. Here you will find sample bots that take advantage of Bot Framework capabilities.
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.
filipw/apress-recipes-webapi
Samples from ASP.NET Web API 2: Recipes book.
OData/RESTier
A turn-key library for building RESTful services
ShaneK2/inVtero.net
inVtero.net: A high speed (Gbps) Forensics, Memory integrity & assurance. Includes offensive & defensive memory capabilities. Find/Extract processes, hypervisors (including nested) in memory dumps using microarchitechture independent Virtual Machiene Introspection techniques
Azure/azure-documentdb-datamigrationtool
Azure DocumentDB Data Migration Tool

Version History

Version Downloads Last updated
7.6.1 4,833 9/30/2019
7.6.1-beta 279 9/18/2019
7.6.0 145,718 6/5/2019
7.6.0-beta 2,289 4/1/2019
7.5.4 149,342 2/15/2019
7.5.3 134,307 12/19/2018
7.5.2 63,358 11/20/2018
7.5.1 170,120 9/17/2018
7.5.0 1,380,005 6/27/2018
7.4.4 241,880 4/4/2018
7.4.3 31,720 3/21/2018
7.4.1 84,953 2/16/2018
7.4.0 54,642 1/22/2018
7.4.0-beta3 594 1/12/2018
7.4.0-beta2 718 12/18/2017
7.4.0-beta 2,129 11/2/2017
7.3.1 280,296 8/14/2017
7.3.0 43,858 7/24/2017
7.3.0-beta 466 7/17/2017
7.2.0 437,849 5/3/2017
7.1.1 77,401 4/11/2017
7.0.0 448,952 8/22/2016
7.0.0-beta 845 8/4/2016
6.19.0 177,585 11/14/2017
6.18.0 76,197 9/7/2017
6.18.0-beta 6,476 7/27/2017
6.17.0 125,895 6/12/2017
6.16.0 84,138 4/3/2017
6.16.0-beta 743 1/13/2017
6.15.0 1,313,656 3/18/2016
6.15.0-beta 4,567 1/25/2016
6.14.0 201,003 12/15/2015
6.14.0-rc2 687 12/2/2015
6.14.0-rc 2,605 10/30/2015
6.14.0-beta 540 10/16/2015
6.13.0 482,980 7/22/2015
6.13.0-rc 638 7/14/2015
6.13.0-beta 744 6/19/2015
6.12.0 207,855 5/22/2015
6.12.0-beta 634 5/15/2015
6.11.0 308,629 3/30/2015
6.10.0 96,288 2/6/2015
6.9.0 101,596 12/10/2014
6.8.1 136,901 10/20/2014
6.8.0 10,173 9/23/2014
6.7.0 8,709 8/29/2014
6.6.0 11,085 7/31/2014
6.5.0 60,133 6/30/2014
6.4.0 89,112 5/30/2014
6.3.0 4,908 4/28/2014
6.2.0 2,529 4/1/2014
6.1.0 1,220 3/4/2014
6.0.0 18,407 1/27/2014
6.0.0-beta1 3,157 12/9/2013
6.0.0-alpha2 861 11/7/2013
6.0.0-alpha1 621 10/4/2013
Show less