Esempio n. 1
0
 public static void RepeatIncidentsAsync()
 {
     new System.Threading.Thread(new System.Threading.ThreadStart(() =>
     {
         BuildingEntities db = new BuildingEntities();
         db.RepeatIncidents();
         db.SaveChanges();
         db.Dispose();
     })).Start();
 }