I am using L2S in my application but i'm switching more and more to dapper.net because i'm having major issues with query performance and the annoying n+1 selects problem.
Its working fine, but i miss the comfortable LINQish style of writing predicates when filtering data.
So my question is, how can i translate a predicate in form of Func<T, bool>
to a SQL Server where clause to use it with dapper?
I think someone must have done this before, or are all the dapper users handcoding their sql statements?
As the title suggests, maybe it is an option to call the LINQ2SQL provider for SQL Server?
Basically i'm looking for something like the inverse of dynamic linq.