System.Linq.Dynamic.Core
LINQKit
System.Linq.Dynamic.Core | LINQKit | |
---|---|---|
10 | 6 | |
1,502 | 1,570 | |
0.9% | - | |
8.1 | 3.5 | |
6 days ago | 4 months ago | |
HTML | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
System.Linq.Dynamic.Core
-
Postgres + Marten + DynamicLinq... Exceptions after upgrad to NET 6
We have an app that was written with core 3.1 and uses Postgres and Marten to create a document store. I have several tables with filtering functionality that uses DymanicLinq (https://dynamic-linq.net/) to generate queries. As 3.1 is EOL, we are upgrading to NET 6 but doing so seems to have broken the queries. I now get exceptions saying the Specified Method is unsupported. Anyone have any idea how to fix this?
-
I made a new filtering library for .NET projects
How is it different from Dynamic Linq?
-
Introducing QueryR!
Fun with expression trees, pretty cool!. How does this compare with Dynamic Linq?
- AutoMapper Expression Lookup
-
How can i make a dynamic Query?
Have a look at Dynamic LINQ I am using it in a similar fashion to yourself to accept 'order' and 'where' parameters via API Endpoints and parsing them to LINQ queries
-
Dynamically building Linq queries
-> Dynamic LINQ
-
Transforming a search query into an EF expression with Lucene
Not much to explain, other than: https://dynamic-linq.net/
-
Rules Engine Editor - Blazor UI library intended for integration in Web or Desktop With Microsoft Rules Engine (open source dynamic lambda expression package for abstracting business logic/rules/policies out of the system and put rules in a outside store)
RulesEngine runs on any arbitrary object since it's based on Dynamic LINQ. It can be used outside of SQL for evaluating expressions. This allows business rules to be changed w/out compilation, publishing or devops.
- Build dynamic Linq filters (aka. where() predicates)
LINQKit
-
What your hidden nuget gems ?
I also enjoy LinqKit (mentioned here). Really cool way to build a LINQ predicate.
-
EF Core Include where
I would suggest to install LINQKit Configure DbContextOptions: cs builder .UseSqlServer(connectionString) .WithExpressionExpanding(); // enabling LINQKit extension
- Як я мігрував з EF 6 до EF Core 5
-
Build dynamic Linq filters (aka. where() predicates)
Nice! At work we do something similar, but we use the predicate builder of linqkit: https://github.com/scottksmith95/LINQKit
-
Expression<Func<T>> usage in filters and sorting
To answer your other question, you can use something like PredicateBuilder to compose predicates for use in Where and OrderBy methods. To define your OrderBy with a boolean (or string or enum) to denote the ordering, you would have to make an extension method like so:
What are some alternatives?
RulesEngine - A Json based Rules Engine with extensive Dynamic expression support
Linq.Expression.Optimizer - System.Linq.Expression expressions optimizer. http://thorium.github.io/Linq.Expression.Optimizer
linq2db.EntityFrameworkCore - Bring power of Linq To DB to Entity Framework Core projects
dynamic-linq-query-builder - A truly generic and dynamic linq query builder to compliment jQuery QueryBuilder and other dynamic linq query generation needs
Sieve - ⚗️ Clean & extensible Sorting, Filtering, and Pagination for ASP.NET Core
Dapper Extensions - Dapper Extensions is a small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs. For more advanced querying scenarios, Dapper Extensions provides a predicate system. The goal of this library is to keep your POCOs pure by not requiring any attributes or base class inheritance.
MongoDB Repository pattern implementation
DynamicExpresso - C# expressions interpreter
LINQ to DB - Linq to database provider.
Remote.Linq - Simply LINQ your remote resources...
Fluent NHibernate - Fluent NHibernate!