Skip to content

Commit

Permalink
Typos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWold committed Nov 25, 2023
1 parent 1e2542f commit b8bc8db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ static NpgsqlCommand GetCommand(string query, NpgsqlConnection cnonnection, Npgs
return command;
}

static void Command(NpgsqlConnection cnonnection, NpgsqlTransaction transaction, string query)
static void Command(NpgsqlConnection connection, NpgsqlTransaction transaction, string query)
{
var command = GetCommand(query, connection, transaction);
command.ExecuteNonQuery();
}

static T Query<T>(NpgsqlConnection cnonnection, string query)
static T Query<T>(NpgsqlConnection connection, string query)
{
var command = GetCommand(query, connection);
return (T)command.ExecuteScalar();
Expand Down

0 comments on commit b8bc8db

Please sign in to comment.