Microsoft.OData.Core 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 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.7.0
dotnet add package Microsoft.OData.Core --version 6.7.0
<PackageReference Include="Microsoft.OData.Core" Version="6.7.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.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages (98)

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.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.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.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 (22)

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 22,902 9/23/2020
7.7.1 85,780 9/1/2020
7.7.0 103,209 6/26/2020
7.7.0-beta 2,541 5/29/2020
7.6.4 451,248 3/25/2020
7.6.3 364,246 1/30/2020
7.6.2 168,849 11/21/2019
7.6.1 1,654,172 9/30/2019
7.6.1-beta 545 9/18/2019
7.6.0 614,076 6/5/2019
7.6.0-beta 12,412 4/1/2019
7.5.4 289,262 2/15/2019
7.5.3 343,749 12/19/2018
7.5.2 99,453 11/20/2018
7.5.1 317,407 9/17/2018
7.5.0 5,839,879 6/27/2018
7.4.4 328,749 4/4/2018
7.4.3 43,668 3/21/2018
7.4.1 121,827 2/16/2018
7.4.0 132,331 1/22/2018
7.4.0-beta3 939 1/12/2018
7.4.0-beta2 883 12/18/2017
7.4.0-beta 2,372 11/2/2017
7.3.1 340,687 8/14/2017
7.3.0 51,581 7/24/2017
7.3.0-beta 725 7/17/2017
7.2.0 610,697 5/3/2017
7.1.1 103,454 4/11/2017
7.0.0 568,185 8/22/2016
7.0.0-beta 988 8/4/2016
6.19.0 312,506 11/14/2017
6.18.0 95,896 9/7/2017
6.18.0-beta 8,060 7/27/2017
6.17.0 179,150 6/12/2017
6.16.0 137,269 4/3/2017
6.16.0-beta 916 1/13/2017
6.15.0 1,889,440 3/18/2016
6.15.0-beta 4,992 1/25/2016
6.14.0 274,434 12/15/2015
6.14.0-rc2 853 12/2/2015
6.14.0-rc 2,794 10/30/2015
6.14.0-beta 684 10/16/2015
6.13.0 676,195 7/22/2015
6.13.0-rc 834 7/14/2015
6.13.0-beta 912 6/19/2015
6.12.0 249,817 5/22/2015
6.12.0-beta 811 5/15/2015
6.11.0 395,718 3/30/2015
6.10.0 132,576 2/6/2015
6.9.0 138,956 12/10/2014
6.8.1 169,371 10/20/2014
6.8.0 12,772 9/23/2014
6.7.0 9,468 8/29/2014
6.6.0 11,382 7/31/2014
6.5.0 70,985 6/30/2014
6.4.0 127,438 5/30/2014
6.3.0 5,481 4/28/2014
6.2.0 2,797 4/1/2014
6.1.0 1,436 3/4/2014
6.0.0 21,359 1/27/2014
6.0.0-beta1 3,363 12/9/2013
6.0.0-alpha2 1,018 11/7/2013
6.0.0-alpha1 781 10/4/2013
Show less