public SQLiteDataReader ExecuteReader(CommandType commandType, string commandText, params IDbDataParameter[] commandParameters) { try { this.InitSqliteDB(); return(SqlHelperDB.ExecuteReader(this.sqliteConn, commandType, commandText, commandParameters)); } catch (Exception e) { // this.m_haserror = true; throw new System.Exception(e.Message, e.InnerException); } }
public SQLiteDataReader ExecuteReader(string spName, params IDbDataParameter[] parameterValues) { try { this.InitSqliteDB(); //return Data.SqlHelperDB.ExecuteReader(this.m_transaction,spName,parameterValues); return(SqlHelperDB.ExecuteReader(this.sqliteConn, CommandType.StoredProcedure, spName, parameterValues)); } catch (Exception e) { // this.m_haserror = true; throw new System.Exception(e.Message, e.InnerException); } }