Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

MicroLite.Extensions.WebApi 6.2.0

Compare
Choose a tag to compare
@TrevorPilley TrevorPilley released this 24 Jan 12:07
· 123 commits to master since this release

MicroLite.Extensions.WebApi 6.2.0

Using the updated Net.Http.WebApi.OData library (3.1.0) which results in the following enhancements:

  • decimal/double and single don't require a decimal places - e.g. 5M and 5.0M are supported
  • It is now possible to compare a property to another property - e.g FirstName eq LastName
  • Method arguments don't require a space after the separating comma - e.g. endswith(CompanyName,'Futterkiste') and endswith(CompanyName, 'Futterkiste') are now supported
  • Methods which return a boolean value don't require eq true after them - e.g. startswith(CompanyName,’Alfr’) can be used as well as startswith(CompanyName,’Alfr’) eq true (supported for endswith, startswith, and substringof)
  • Grouping - e.g. Firstname eq 'John' and (Surname eq 'Smith' or Surname eq 'Smythe')
  • The not operator - e.g. not endswith(Name, 'ilk')

In addition we have added support for more of the OData functions:

  • Round
  • Floor
  • Ceiling
  • Trim

See the 6.2.0 Milestone for a list of issues closed in this release.

Built against:

  • MicroLite 6.1.0
  • Net.Http.WebApi.OData 3.1.0
  • ASP.NET WebApi 4.0.20710 (.NET 4.0 build)
  • ASP.NET WebApi 5 (.NET 4.5 build)

view code changes