972,150

Downloads

7,195

Downloads of v 6.7.0

768

Average downloads per day

2014-08-29

Last published

Share on Social Networks

ODataLib

6.7.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, Win Phone 8.1, 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.7.0

Release Notes

Features:

1. EdmLib supports a list of additional core vocabulary terms
    -  IsLanguageDependent
    -  RequiresType
    -  ResourcePath
    -  DereferenceableIDs
    -  ConventionalIDs
    -  Immutable
    -  Computed
    -  IsURL
    -  AcceptableMediaTypes
    -  MediaType
    -  IsMediaType
2. EdmLib supports adding metadata annotations to elements in Edm model.
3. ODataLib supports computing Uri with KeyAsSegment convention for deserializing.
4. ODataUriParser supports Enum value as an entity key
5. ODataLib supports overriding default Uri parsing behavior, including:
    -  Resolving property name
    -  Resolving type name
    -  Resolving navigation source name
    -  Resolving operation import name
    -  Resolving bound operation name
    -  Resolving function parameters
    -  Resolving entity set key
    -  Resolving binary operator node elements

    We have also provided built-in implementations to enable following scenarios:

    1) Case insensitive for built in identifiers, including:
        •  In path segment
            $batch, $metadata, $count, $ref, $value
        •  In query options
            $id, $select, $expand(including nested query options), $levels, $filter, $orderby, $skip, $top, $count, $search, max, asc, desc, any, all, contains, startswith, endswith, length, indexof, substring, tolower, toupper, trim, concat, year, month, day, hour,  minute, second, fractionalseconds, totalseconds, totaloffsetminutes, mindatetime maxdatetime, now, and, or, eq, ne, lt, le, gt, ge, has, add, sub, mul, div, mod, not, round, floor, ceiling, isof, cast, geo.distance, geo.length, geo.intersects
        •  $it, true, false, null, are not supported and should be case sensitive
        •  AND, OR, NOT for $search are not supported and should be case sensitive

    2) Case insensitive for user metadata, including :
        •  EntitySet/Singleton Name
        •  EntitySet key predicate name
        •  Property Name
        •  Type Name
        •  FunctionImport name/parameter name
        •  ActionImport name
        •  Bound function name/parameter name
        •  Bound action name

    3) Unqualified function call, including:
        •  Bound function call without namespace prefix
        •  Bound action call without namespace prefix

    4) Omitting Enum type name prefix for Enum value, including:
        •  Omitting Enum type prefix in binary operator
        •  Omitting Enum type prefix in entity set key value
        •  Omitting Enum type prefix in function parameter
                               
Bug fixes:

1. Fixes a bug that DataServiceCollection<T> constructor runs into stack overflow when parameter T derives from a generic type of T.
2. Fixes a bug that Edm validator doesn't correctly report error when the Edm model contains dupped key properties.

Owners

Authors

Microsoft Corporation

Tags

Dependencies

Version History

Version Downloads Last updated
ODataLib 7.0.0-beta 460 Thursday, August 4, 2016
ODataLib 6.16.0-beta 236 Friday, January 13, 2017
ODataLib 6.15.0 231,148 Friday, March 18, 2016
ODataLib 6.15.0-beta 3,227 Monday, January 25, 2016
ODataLib 6.14.0 95,637 Tuesday, December 15, 2015
ODataLib 6.14.0-rc2 379 Wednesday, December 2, 2015
ODataLib 6.14.0-rc 1,890 Friday, October 30, 2015
ODataLib 6.14.0-beta 212 Friday, October 16, 2015
ODataLib 6.13.0 151,617 Wednesday, July 22, 2015
ODataLib 6.13.0-rc 277 Tuesday, July 14, 2015
ODataLib 6.13.0-beta 433 Friday, June 19, 2015
ODataLib 6.12.0 54,114 Friday, May 22, 2015
ODataLib 6.12.0-beta 272 Friday, May 15, 2015
ODataLib 6.11.0 111,549 Monday, March 30, 2015
ODataLib 6.10.0 42,183 Friday, February 6, 2015
ODataLib 6.9.0 55,383 Wednesday, December 10, 2014
ODataLib 6.8.1 63,957 Monday, October 20, 2014
ODataLib 6.8.0 6,335 Tuesday, September 23, 2014
ODataLib 6.7.0 (this version) 7,195 Friday, August 29, 2014
ODataLib 6.6.0 9,716 Thursday, July 31, 2014
ODataLib 6.5.0 38,119 Monday, June 30, 2014
ODataLib 6.4.0 20,722 Friday, May 30, 2014
ODataLib 6.3.0 4,071 Monday, April 28, 2014
ODataLib 6.2.0 2,010 Tuesday, April 1, 2014
ODataLib 6.1.0 733 Tuesday, March 4, 2014
ODataLib 6.0.0 3,702 Monday, January 27, 2014
ODataLib 6.0.0-beta1 2,470 Monday, December 9, 2013
ODataLib 6.0.0-alpha2 529 Thursday, November 7, 2013
ODataLib 6.0.0-alpha1 199 Friday, October 4, 2013