Is there a plan to make Dapper.net compatible with IQueryable interfaces? If not, what\'s the workaround to use Dapper with \"Expression Trees\" filters?
You can get IQueryable
from IEnumerable
using the built-in extension method AsQueryable
in System.Linq
namespace
public IQueryable GetOrdersAsQuerable()
{
IEnumerable qry= GetOrders(); //using Query
//use the built-in extension method AsQueryable in System.Linq namespace
return qry.AsQueryable();
}
Example