public CDataBaseQueryResult(CDataBaseQuery p_query, Int32 rows_affected) { m_rows_affected = rows_affected; m_p_exception = null; m_p_query = p_query; m_p_result_set = new CDataBaseResultSet(); }
public CDataBaseQueryResult(CDataBaseQuery p_query, Int32 rows_affected, Int64 last_inserted_id) { m_rows_affected = rows_affected; m_last_inserted_id = last_inserted_id; m_p_exception = null; m_p_query = p_query; m_p_result_set = new CDataBaseResultSet(); }
/// <summary> /// Adds the given database query to the operation. /// </summary> /// <param name="p_query">The query to add to the operation.</param> /// <param name="reflect_in_result">Whether to add the result of the query as part of the result of the operation.</param> internal void AddQuery(Queries.CDataBaseQuery p_query, Boolean reflect_in_result, QueryFinishedHandler p_finished_handler) { _m_p_operation_queries.Add( new SOperationQuery() { m_p_query = p_query, m_include_in_result = reflect_in_result, m_p_finished_handler = p_finished_handler } ); }
public CDataBaseQueryResult(CDataBaseQuery p_query, MySqlException p_exception) { m_p_query = p_query; m_p_exception = p_exception; }
public CDataBaseQueryResult(CDataBaseQuery p_query) : this(p_query, 0) { }