private static void clearAnnotations(table1Entities db) { db.Annotations.ToList().ForEach(i => db.DeleteObject(i)); db.SaveChanges(); }