My understanding of expression tree is :...Expression trees are in-memory representation of expression like arithmetic or boolean expression.The expressions are stored into the parsed tree.so we can easily transalate into any other language....Linq to SQL...
I have following generic queryable (which may already have selections applied):...IQueryable<TEntity> queryable = DBSet<TEntity>.AsQueryable();
...Then there is the ...Provider... class that looks like this:...public class Provider<TEntity>
{
public E...
When I am trying to compile the following code:...var post = iPostService.GetAll().Select(x => (x.Title, x.Author));
...I get the compiler error: 'An expression tree may not contain a tuple literal.'...So I also tried this: ...var post = iPostService.GetA...