Skip to content

Creates a sql where clause from DevExtreme remote datasource with filtering.

License

Notifications You must be signed in to change notification settings

pavinan/DevExtreme.Helpers.DataSource

Repository files navigation

DevExtreme helpers remote datasource.

Build status Build status

Nuget link: https://www.nuget.org/packages/Bharat.DevExtreme.Helpers.DataSource/

var Builder = new WhereClauseBuilder();
var json = "[\"CustomerID\",\"=\",\"ALFKI\"]";
var jarray = JArray.Parse(json);
var sqlWhereClause = Builder.BuildFor(jarray);

Outputs:

CustomerID = "ALFKI"

In sql you can write

Exec('Select * from customers where ' + @sqlWhereClause);

There is an overloaded version of WhereClauseBuilder you can provide your own implentation ISQLColumnProvider if you are using table aliases you can customize there.

About

Creates a sql where clause from DevExtreme remote datasource with filtering.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages