Professional Documents
Culture Documents
Linq Update
Linq Update
tblNotificationManagement s where d.NotificationId == Convert.ToIn t32(dr["NotificationId"]) && d.IsUser == true && d.IsReaded == false && d.NotificationType != (int)Common.N otificationType.RequestQuoteFromVendor select d); if (NQuery.Count() > 0) { var NQuery1 = NQuery.First(); NQuery1.IsReaded = true; dc.SubmitChanges(); } dc.Connection.Close(); dc.Dispose(); }