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.

NuGet packages (96)

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

Package Downloads
Microsoft.AspNet.OData
This package contains everything you need to create OData v4.0 endpoints using ASP.NET Web API and to support OData query syntax for your web APIs.
Microsoft.OData.Client
LINQ-enabled client API for issuing OData queries and consuming OData JSON payloads. Supports OData v4. Targets .NET 4.5 and .NET Platform Standard 1.1. OData .NET library is open source at http://github.com/OData/odata.net. Documentation for the library can be found at https://odata.github.io/odata.net.
Microsoft.Azure.Cosmos.Table
This client library enables working with the Microsoft Azure CosmosDB Table storage, with support for global distribution, automatic secondary indexes, dedicated throughput, and single-digit millisecond latency. See "Getting started with the Azure Cosmos DB: Table API" at https://aka.ms/premiumtables. For reporting issue, please file it at: https://github.com/Azure/azure-cosmos-table-dotnet/issues.
Microsoft.AspNetCore.OData
This package contains everything you need to create OData v4.0 endpoints using ASP.NET Core MVC and to support OData query syntax for your web APIs.
Simple.OData.Client
Simple.OData.Client is a multiplatform OData client library supporting .NET 4.x, .NET Standard, .NET Core, iOS and Android. The adapter provides a great alternative to WCF Data Services client. It does not require generation of context or entity classes and fits RESTful nature of OData services. The package Simple.OData.Client contains libraries that can work with OData feeds that implement both V1-3 and V4 OData protocol. Packages Simple.OData.V3.Client and Simple.OData.V4.Client have smaller footprints and target V1-3 and V4 respectively.

GitHub repositories (21)

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

Repository Stars
smartstore/SmartStoreNET
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
pnp/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
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office

Version History

Version Downloads Last updated
7.7.2 379 9/23/2020
7.7.1 17,803 9/1/2020
7.7.0 79,770 6/26/2020
7.7.0-beta 1,929 5/29/2020
7.6.4 274,472 3/25/2020
7.6.3 322,056 1/30/2020
7.6.2 157,356 11/21/2019
7.6.1 1,440,230 9/30/2019
7.6.1-beta 466 9/18/2019
7.6.0 583,219 6/5/2019
7.6.0-beta 11,733 4/1/2019
7.5.4 277,902 2/15/2019
7.5.3 322,238 12/19/2018
7.5.2 96,486 11/20/2018
7.5.1 304,741 9/17/2018
7.5.0 5,231,482 6/27/2018
7.4.4 323,087 4/4/2018
7.4.3 43,004 3/21/2018
7.4.1 119,200 2/16/2018
7.4.0 123,108 1/22/2018
7.4.0-beta3 916 1/12/2018
7.4.0-beta2 860 12/18/2017
7.4.0-beta 2,344 11/2/2017
7.3.1 335,964 8/14/2017
7.3.0 51,154 7/24/2017
7.3.0-beta 690 7/17/2017
7.2.0 596,390 5/3/2017
7.1.1 101,530 4/11/2017
7.0.0 557,266 8/22/2016
7.0.0-beta 962 8/4/2016
6.19.0 300,341 11/14/2017
6.18.0 94,270 9/7/2017
6.18.0-beta 8,031 7/27/2017
6.17.0 175,963 6/12/2017
6.16.0 134,008 4/3/2017
6.16.0-beta 879 1/13/2017
6.15.0 1,833,681 3/18/2016
6.15.0-beta 4,956 1/25/2016
6.14.0 268,352 12/15/2015
6.14.0-rc2 825 12/2/2015
6.14.0-rc 2,764 10/30/2015
6.14.0-beta 661 10/16/2015
6.13.0 654,933 7/22/2015
6.13.0-rc 804 7/14/2015
6.13.0-beta 885 6/19/2015
6.12.0 245,499 5/22/2015
6.12.0-beta 785 5/15/2015
6.11.0 387,303 3/30/2015
6.10.0 128,915 2/6/2015
6.9.0 135,778 12/10/2014
6.8.1 165,785 10/20/2014
6.8.0 12,613 9/23/2014
6.7.0 9,406 8/29/2014
6.6.0 11,344 7/31/2014
6.5.0 69,878 6/30/2014
6.4.0 123,942 5/30/2014
6.3.0 5,445 4/28/2014
6.2.0 2,763 4/1/2014
6.1.0 1,401 3/4/2014
6.0.0 21,138 1/27/2014
6.0.0-beta1 3,337 12/9/2013
6.0.0-alpha2 995 11/7/2013
6.0.0-alpha1 757 10/4/2013
Show less