You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LINQ is amazing, but only if I don't need to do left / right outer join, the solution to use the DefaultIfEmpty() method looks weird.
I wish if C# could extend it keywords to add "leftjoin", "rightjoin" so that I can simply code as following:
varq=fromcindb.Categoriesleftjoin p in db.Products on c.CategoryID equals p.CategoryID
select new
{p.ProductName,c.CategoryName}
jnm2, StevenRasmussen, angelofb and verdantburrito