Microsoft.OData.Core 6.2.0

ODataLib

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 http://odata.codeplex.com

There is a newer prerelease 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
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.

Version History

Version Downloads Last updated
7.4.4 12,636 4/4/2018
7.4.3 6,867 3/21/2018
7.4.1 23,498 2/16/2018
7.4.0 14,975 1/22/2018
7.4.0-beta3 374 1/12/2018
7.4.0-beta2 420 12/18/2017
7.4.0-beta 1,164 11/2/2017
7.3.1 114,073 8/14/2017
7.3.0 22,487 7/24/2017
7.3.0-beta 162 7/17/2017
7.2.0 122,575 5/3/2017
7.1.1 38,573 4/11/2017
7.0.0 258,789 8/22/2016
7.0.0-beta 627 8/4/2016
6.19.0 37,382 11/14/2017
6.18.0 30,421 9/7/2017
6.18.0-beta 2,155 7/27/2017
6.17.0 53,620 6/12/2017
6.16.0 37,878 4/3/2017
6.16.0-beta 478 1/13/2017
6.15.0 638,591 3/18/2016
6.15.0-beta 3,781 1/25/2016
6.14.0 139,844 12/15/2015
6.14.0-rc2 488 12/2/2015
6.14.0-rc 2,370 10/30/2015
6.14.0-beta 325 10/16/2015
6.13.0 277,697 7/22/2015
6.13.0-rc 400 7/14/2015
6.13.0-beta 543 6/19/2015
6.12.0 107,006 5/22/2015
6.12.0-beta 411 5/15/2015
6.11.0 193,057 3/30/2015
6.10.0 63,672 2/6/2015
6.9.0 68,523 12/10/2014
6.8.1 100,848 10/20/2014
6.8.0 7,243 9/23/2014
6.7.0 8,111 8/29/2014
6.6.0 10,393 7/31/2014
6.5.0 50,337 6/30/2014
6.4.0 31,779 5/30/2014
6.3.0 4,511 4/28/2014
6.2.0 (current) 2,235 4/1/2014
6.1.0 915 3/4/2014
6.0.0 11,786 1/27/2014
6.0.0-beta1 2,864 12/9/2013
6.0.0-alpha2 649 11/7/2013
6.0.0-alpha1 349 10/4/2013
Show less