1,217,784

Downloads

2,085

Downloads of v 6.2.0

895

Average downloads per day

2014-04-01

Last published

Share on Social Networks

ODataLib

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

To install ODataLib, run the following command in the Package Manager Console

Install-Package Microsoft.OData.Core -Version 6.2.0

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.

Owners

Authors

Microsoft Corporation

Tags

Dependencies

Version History

Version Downloads Last updated
ODataLib 7.1.1 6,859 Tuesday, April 11, 2017
ODataLib 7.0.0 112,545 Monday, August 22, 2016
ODataLib 7.0.0-beta 499 Thursday, August 4, 2016
ODataLib 6.17.0 778 Monday, June 12, 2017
ODataLib 6.16.0 9,580 Monday, April 3, 2017
ODataLib 6.16.0-beta 355 Friday, January 13, 2017
ODataLib 6.15.0 314,095 Friday, March 18, 2016
ODataLib 6.15.0-beta 3,421 Monday, January 25, 2016
ODataLib 6.14.0 107,746 Tuesday, December 15, 2015
ODataLib 6.14.0-rc2 409 Wednesday, December 2, 2015
ODataLib 6.14.0-rc 1,942 Friday, October 30, 2015
ODataLib 6.14.0-beta 240 Friday, October 16, 2015
ODataLib 6.13.0 175,382 Wednesday, July 22, 2015
ODataLib 6.13.0-rc 310 Tuesday, July 14, 2015
ODataLib 6.13.0-beta 460 Friday, June 19, 2015
ODataLib 6.12.0 64,533 Friday, May 22, 2015
ODataLib 6.12.0-beta 307 Friday, May 15, 2015
ODataLib 6.11.0 125,508 Monday, March 30, 2015
ODataLib 6.10.0 47,582 Friday, February 6, 2015
ODataLib 6.9.0 59,442 Wednesday, December 10, 2014
ODataLib 6.8.1 71,865 Monday, October 20, 2014
ODataLib 6.8.0 6,710 Tuesday, September 23, 2014
ODataLib 6.7.0 7,568 Friday, August 29, 2014
ODataLib 6.6.0 10,196 Thursday, July 31, 2014
ODataLib 6.5.0 41,530 Monday, June 30, 2014
ODataLib 6.4.0 22,568 Friday, May 30, 2014
ODataLib 6.3.0 4,222 Monday, April 28, 2014
ODataLib 6.2.0 (this version) 2,085 Tuesday, April 1, 2014
ODataLib 6.1.0 773 Tuesday, March 4, 2014
ODataLib 6.0.0 5,111 Monday, January 27, 2014
ODataLib 6.0.0-beta1 2,596 Monday, December 9, 2013
ODataLib 6.0.0-alpha2 554 Thursday, November 7, 2013
ODataLib 6.0.0-alpha1 243 Friday, October 4, 2013