Ejemplo n.º 1
0
 public void RemoveAllCatalogs()
 {
     using (LinqToSqlDataContext dataContext = new LinqToSqlDataContext())
     {
         dataContext.ExecuteCommand(@"DELETE FROM Catalogs;");
     }
 }
Ejemplo n.º 2
0
 public void RemoveAllEvents()
 {
     using (LinqToSqlDataContext dataContext = new LinqToSqlDataContext())
     {
         dataContext.ExecuteCommand(@"DELETE FROM LibraryEvents;");
     }
 }