Specifications and Dapper

Asked

Viewed 87 times

1

Hello, does anyone know any extension of dapper that makes it possible to use Specifications (Expression<Func<T, bool>>) in c#?

  • Tested Dapper Extensions? https://github.com/tmsmith/Dapper-Extensions/wiki/Predicates

  • I tried, he won’t accept bolean’s return from an expression. The way he uses Predicates.Field he expects an Expression with return of Object and enums of operators and the expected value.

  • Um, maybe if you put in your code, your class and the test you did on Extensions, it would look better..

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.