ADCCure.Azure.Documents.OData.Sql 2.1.12

Currently it supports below query mappings:
         field                       => c.field
         parent/child                => c.parent.child
         Namespace.EnumType'enumVal' => 'enumVal'
         $select  => SELECT
         $filter  => WHERE
         $top     => TOP
         $orderby => ORDER BY
         Items/any(a: a/field op 'value') => SELECT value c FROM c JOIN a IN c.Items WHERE a.field op 'value'
         contains(field,'value')     => CONTAINS(c.field,'value')
         startswith(field,'value')   => STARTSWITH(c.field,'value')
         endswith(field,'value')     => ENDSWITH(c.field,'value')
         toupper(field)              => UPPER(c.field)
         tolower(field)              => LOWER(c.field)
         length(field)               => LENGTH(c.field)
         indexof(field,'value')      => INDEX_OF(c.field,'value')
         substring(field,idx1,idx2)  => SUBSTRING(c.field,idx1,idx2)
         trim(field)                 => LTRIM(RTRIM(c.englishName))
         concat(field,'value')       => CONCAT(c.englishName,'value')

There is a newer version of this package available.
See the version list below for details.
Install-Package ADCCure.Azure.Documents.OData.Sql -Version 2.1.12
dotnet add package ADCCure.Azure.Documents.OData.Sql --version 2.1.12
<PackageReference Include="ADCCure.Azure.Documents.OData.Sql" Version="2.1.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ADCCure.Azure.Documents.OData.Sql --version 2.1.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

2.1.12 Fix Guid translation with quotes encapsulated
     2.1.11 Resolve nullreference exception on empty $filter
     2.1.5 Improved Enum parsing
     2.1.4 Improved dependency versions
     2.1.3 Added support for any. Note, 'all' not supported.
     2.0.2 Added support for functions: length(), indexof(), substring(), trim(), concat()
     2.0.1 Added support for functions: contains(), startswith(), endswith(), toupper() and tolower()
     2.0.0 Breaking changes: Simplified usage with newly introuduced class ODataToSqlTranslator
     1.0.0 Initial release

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.13 703 3/1/2018
2.1.12 691 10/24/2017
2.1.5 472 10/15/2017
2.1.4 457 10/15/2017
2.1.3 497 10/14/2017