Project | NuGet |
---|---|
System.Linq.Dynamic.Core | |
EntityFramework.DynamicLinq | |
Microsoft.EntityFrameworkCore.DynamicLinq |
This is a .NET Core/Standard port of the Microsoft assembly for the .Net 4.0 Dynamic language functionality.
With this library it's possible to write Dynamic LINQ queries (string based), example:
var query = db.Customers
.Where("City == @0 and Orders.Count >= @1", "London", 10)
.OrderBy("CompanyName")
.Select("new(CompanyName as Name, Phone)");
See the Wiki and API Documentation for more code examples and usage details.
The following frameworks are supported:
- net35
- net40
- net45 and up
- netstandard1.3
- uap10.0
This fork takes the basic library to a new level. Contains XML Documentation and examples on how to use it. Also adds unit testing to help ensure that it works properly.
Some background:
I forked from https://github.com/NArnott/System.Linq.Dynamic and added some more functionality there.
My fork is still visible on github [https://github.com/StefH/System.Linq.Dynamic], however I decided to start a new project + nuget to avoid confusion and create the project according to the new VS2017 + .NET Core rules / standards.
However, currently there are multiple nuget packages and project available:
Project | NuGet | Author | Comment |
---|---|---|---|
kahanu/System.Linq.Dynamic | System.Linq.Dynamic | @kahanu | - |
kavun/System.Linq.Dynamic.3.5 | System.Linq.Dynamic.3.5/ | @kavun | only 3.5 and VB.NET |
NArnott/System.Linq.Dynamic | System.Linq.Dynamic.Library | @NArnott | removed from github + nuget ? |
dynamiclinq.codeplex | - | dialectsoftware | - |
dynamic-linq | - | scottgu | - |