Cross join in LINQ
It is simple to implement to cross join in LINQSuppose i have 2 tables 1. Customers & 2.orderNow i want cross join on both tablesvar q = from c in dataContext.Customers from o in dataContext.Orders select new {
Read moreIt is simple to implement to cross join in LINQSuppose i have 2 tables 1. Customers & 2.orderNow i want cross join on both tablesvar q = from c in dataContext.Customers from o in dataContext.Orders select new {
Read morewe can implement left outer join in LINQ as wellsuppose i have 2 tables 1. product 2. order. In the order we have foreign key named as productId reference to product tableNow we want to achieve left or left outer joinvar q=(from pd in dataContext.Products join od
Read moreGet Datetime in string in linq Query 1) using System.Data.Entity.SqlServer; 2) [crayon-676682c36cb5c334922623/] 3) Convert datetime string in jquery Date d =New Date(LastUpdateDateTimeInString)
Read moreBelow is the sample code: [crayon-676682c36cf4e905100923/] Enjoy :)
Read more