Skip to content
The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
HTML C# CSS JavaScript PowerShell Smalltalk
Branch: master
Clone or download

Latest commit

Latest commit 4975c26 May 31, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.axoCover Added ToList and ToArray tests Sep 12, 2017
.vscode Fixed DynamicClassFactory (https://github.com/dotnet/corefx/issues/7596) Apr 16, 2016
Z.Dynamic.Core.Lab save May 26, 2020
docfx Azure Pipelines: fix Build (coverlet), use new vmImage and update NuG… Apr 8, 2020
docs Azure Pipelines: fix Build (coverlet), use new vmImage and update NuG… Apr 8, 2020
report Set up CI with Azure Pipelines (#210) Oct 27, 2018
resources MyGet-Config Nov 1, 2019
src-blazor/BlazorAppTest Support for Blazor webassembly (#360) Mar 24, 2020
src-console Nested Cosmos Db compatibility (#352) Mar 18, 2020
src Update assembly version May 31, 2020
test-uap Add support for OfType, Is, As and Cast (#249) Feb 28, 2019
test Merge pull request #381 from Lempireqc/master May 31, 2020
web/DynamicLinqWebDocs build fix Apr 29, 2016
.deployment Add .deployment file May 23, 2016
.editorconfig Create .editorconfig Dec 5, 2016
.gitattributes Initial version Apr 9, 2016
.gitignore codecov fix ? (#67 and #70) Apr 8, 2017
CHANGELOG.md 1.1.0.0 Apr 25, 2020
Directory.Build.props Update builds May 31, 2020
GitHubReleaseNotes.txt 1.1.0.0 Apr 25, 2020
LICENSE Support for AndAlso and OrElse (#281) Aug 12, 2019
README.md Update README.md May 6, 2020
System.Linq.Dynamic.Core.sln save May 25, 2020
System.Linq.Dynamic.Core.sln.DotSettings DateTimeIsParsedAsUTC (#277) Aug 29, 2019
azure-pipelines.yml opencover.xml Apr 20, 2020
codecov.yml codecov Apr 8, 2017

README.md

System.Linq.Dynamic.Core

This is a .NET Core / Standard port of the Microsoft assembly for the .Net 4.0 Dynamic language functionality.

Overview

With this library it's possible to write Dynamic LINQ queries (string based) on an IQueryable:

var query = db.Customers
    .Where("City == @0 and Orders.Count >= @1", "London", 10)
    .OrderBy("CompanyName")
    .Select("new(CompanyName as Name, Phone)");

How to use

There are several documentation resources:

  • Wiki : an overview from the basic functionality (correctness ~ 80%)
  • API Documentation : a low-level API description website with some code samples
  • DynamicLinqWebDocs (TODO)

Info

Project  
  Chat Gitter
  Issues GitHub issues
Quality  
  Build Build Status Azure
  Quality Sonar Quality Gate CodeFactor
  Sonar Sonar Bugs Sonar Code Smells
  Coverage codecov Coverage Status
NuGet  
  System.Linq.Dynamic.Core NuGet
  EntityFramework.DynamicLinq NuGet
  Microsoft.EntityFrameworkCore.DynamicLinq NuGet
  Z.EntityFramework.Classic.DynamicLinq NuGet
MyGet (preview)  
  System.Linq.Dynamic.Core MyGet
  EntityFramework.DynamicLinq MyGet
  Microsoft.EntityFrameworkCore.DynamicLinq MyGet
  Z.EntityFramework.Classic.DynamicLinq MyGet

Development Details

Frameworks

The following frameworks are supported:

  • net35, net40, net45, net46 and up
  • netstandard1.3 & netstandard2.0
  • uap10.0 (UAP 10.0.14393.0)

Fork details

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 projects 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 -
You can’t perform that action at this time.