Exemplo n.º 1
0
 public void DeleteAllObjects( )
 {
     if (DatabaseHelper.IsSQLConnection())
     {
         (DatabaseHelper as SqlDatabaseHelper).RunStoredProcedure(StoredProcedureGenerator.GetSPName(StoredProcedureGenerator.SPType.DeleteAll, TableName));
     }
     else
     {
         DatabaseHelper.RunScript(QueryGenerator.GenDeleteAll(TableName));
     }
 }