Contains in Linq with entity
Sometimes we require to use In or Not in operator in LINQ. below is the example […]
Nullable Tempdata in MVC
DateTime? FromDate = TempData["FromDate"] as DateTime?; DateTime? ToDate = TempData["ToDate"] as DateTime?; int? UserIdInv = TempData["UserIdInv"] […]
Linq in Array in c#
Linq can be implemented in array with c#, below is code example of linq with array. […]
Update multiple Record In List using linq
Sometime it requires to update multiple records in List using linq, previous process was for loop, […]
Group By and Sum using Linq On Entity
It requires to get group by with sum. var amount = plod.objProduct.Where(i => i.SID == nslres.SID).GroupBy(s […]
Update Multiple Row using Linq
some time it requires to update multiple record using linq , for selecting single value you […]