public DataBaseCommunications() { database = new DataClasses1DataContext(); }
private void refreshDatabaseConnection() { //reinitialize the database connection to clear out references database = new DataClasses1DataContext(); }