/// <summary> /// Executes the specified query /// </summary> /// <param name="query">The query to use</param> /// <param name="connection">The open IDbConnection to use</param> public void ExecuteNonQuery(INonSelectQuery query, IDbConnection connection) { this.ExecuteNonQuery(this.CreateCommand(query.GetText()), connection); }
/// <summary> /// Executes the specified query /// </summary> /// <param name="query">The query to use</param> public void ExecuteNonQuery(INonSelectQuery query) { this.ExecuteNonQuery(this.CreateCommand(query.GetText())); }