Net.Http.WebApi.OData 1.0.2 Released

The OData parsing library which we spun off in MicroLite.Extensions.WebApi version 3.0.1 has been updated with a number of enhancements.

  • We now throw an exception for any unknown query options which are prefixed $.
  • We now throw an exception for any unsupported query options (a valid query option which has not been set via the ODataValidationSettings.AllowedQueryOptions property) when validating ODataQueryOptions.
  • We have added validation support for function calls in the $filter query option, this can be managed via the ODataValidationSettings.AllowedFunctions property.
  • Added support for the tolower() function in a $filter query. e.g. $filter=tolower(CompanyName) eq 'microsoft'
  • Added support for the toupper() function in a $filter query. e.g. $filter=toupper(CompanyName) eq 'MICROSOFT'
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s