/// <summary> /// 功能:对传入的SQL执行增、改、删等操作 /// 日期:2013-05-15 /// </summary> /// <param name="sql">要执行的SQl</param> /// <param name="parList">参数列表</param> /// <returns></returns> public static int ExecuteNonQuery(string sql) { return(OracleDBHelper.ExecuteNonQuery(sql, null, DataBaseType.DefaultDB)); }
/// <summary> /// 功能:对传入的SQL执行增、改、删等操作 /// 日期:2013-05-15 /// </summary> /// <param name="sql">要执行的SQl</param> /// <param name="parList">参数列表</param> /// <returns></returns> public static int ExecuteNonQuery(string sql, List <ParameterEntity> parList) { return(OracleDBHelper.ExecuteNonQuery(sql, parList, DataBaseType.DefaultDB)); }