Example #1
0
 public static bool DeleteSessionsJSON(string Ids)
 {
     using (var objCtx = new PWMEntities())
     {
         objCtx.ExecuteStoreCommand("DELETE FROM Session WHERE Id IN (" + Ids + ")");
         objCtx.SaveChanges();
     }
     return(true);
 }