Exemplo n.º 1
0
 public bool executeSql(string sqlstr)
 {
     if (DataSourceType == DataSourceType_MySql)
     {
         MySqlManager msm = new MySqlManager();
         return(msm.executeSql(sqlstr));
     }
     else if (DataSourceType == DataSourceType_Oracle)
     {
         OracleManager om = new OracleManager();
         return(om.executeSql(sqlstr));
     }
     else
     {
         return(false);
     }
 }