Iciclecreek.Azure.Storage.OData
OData filter support for Azure Table Storage: evaluates the OData v3 $filter syntax used by Azure.Data.Tables (including datetime'', guid'', binary and 64-bit literals) against TableEntity rows. Shared by the Iciclecreek.Azure.Storage providers.
Install
| Product | Versions |
|---|---|
| .NET Standard |
README
Iciclecreek.Azure.Storage.OData
Evaluates Azure Table Storage OData $filter expressions against TableEntity rows, in process.
Azure Table Storage filters use the OData v3 literal syntax that TableClient.CreateQueryFilter generates —
datetime'…', guid'…', X'…'/binary'…' and 123L for 64-bit integers — which OData v4 parsers reject.
This package is the filter evaluator shared by the Iciclecreek.Azure.Storage providers, for any code that
needs to apply a table filter itself.
using Iciclecreek.Azure.Storage.OData;
Func<TableEntity, bool> predicate = ODataFilterParser.Parse("PartitionKey eq 'p1' and Age ge 21");
var matches = entities.Where(predicate);
Supports and, or, not, parentheses, and eq/ne/gt/ge/lt/le comparisons against
PartitionKey, RowKey, Timestamp and any entity property.
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.