ASP.NET 4.0,C#,WCF,WF,MVC,Silverlight
ASP.NET 4.0,C#,WCF,WF,MVC,Silverlight,Sharepoint
Friday, January 16, 2009
linq and left join
var datas = from m in db.Musteris
join n in db.Urunlers
on m.ID equals n.musteriID into records
from r in records.DefaultIfEmpty()
select new { Ad=m.ad, Urun=r.urun ?? "Urun Yok." };
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment