public void RealDeleteAllObjects( ) { if (DatabaseHelper.IsSQLConnection()) { (DatabaseHelper as SqlDatabaseHelper).RunStoredProcedure(StoredProcedureGenerator.GetSPName(StoredProcedureGenerator.SPType.RealDeleteAll, TableName)); } else { DatabaseHelper.RunScript(QueryGenerator.GenRealDeleteAll(TableName)); } }