Example #1
0
 public static bool DeleteAllData(int dataBlockId, string connectionString)
 {
     SQLDB sqlDB = new SQLDB(connectionString);
     if (sqlDB.DeleteAllDataRecords(dataBlockId) != -1)
         return true;
     else return false;
 }
Example #2
0
 public int DeleteAllData(SQLDB sqlDB)
 {
     return sqlDB.DeleteAllDataRecords(DATA_BLOCK_ID);
 }