Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert OData to sql string

Tags:

c#

sql

linq

odata

Looking for some solution that will help me translate Odata queries to sql syntax string.

Basically I would like to use System.Linq.Dynamic that allows to pass a sql like string to where clause.

I was also trying to use ODataUriParser.ParseFilter that returns AST FilterClause but I do not know how to apply it to an entity framework table to limit results.

Any suggestions?

like image 607
wariacik Avatar asked Jan 21 '17 00:01

wariacik


1 Answers

Random package found on the Internet :)

DynamicOData

like image 122
NetMage Avatar answered Nov 15 '22 16:11

NetMage