Adds extensions to Linq to offer dynamic queryables.
Go to file
2018-02-11 20:44:19 -06:00
PoweredSoft.DynamicLinq Add project files. 2018-02-11 19:55:29 -06:00
PoweredSoft.DynamicLinq.Dal Add project files. 2018-02-11 19:55:29 -06:00
PoweredSoft.DynamicLinq.Test fixed test. 2018-02-11 20:11:35 -06:00
.gitattributes Add .gitignore and .gitattributes. 2018-02-11 19:55:28 -06:00
.gitignore Add .gitignore and .gitattributes. 2018-02-11 19:55:28 -06:00
PoweredSoft.DynamicLinq.sln Add project files. 2018-02-11 19:55:29 -06:00
README.md Update README.md 2018-02-11 20:44:19 -06:00

DynamicLinq

Adds extensions to Linq to offer dynamic queryables.

Samples

Complex Query

query = query.Query(q =>
{
    q.Compare("AuthorId", ConditionOperators.Equal, 1);
    q.And(sq =>
    {
        sq.Compare("Content", ConditionOperators.Equal, "World");
        sq.Or("Title", ConditionOperators.Contains, 3);
    });
});

Simple Query

query.Where("FirstName", ConditionOperators.Equal, "David");