Code for example:
var context = new cEntities();
var query = from m in context.Users where m.UserId==2
select m from c in context.Folder where c.FolderId==5 select c;
I don't want to write var query twice and connect twice to DB, I want to do it one var query only.
Is this possible at all? Getting to different tables at once?
No connection between the tables, but I want to save DB connection.
View Complete Post