From b8bc8dbc6a8ed7f488b64658665e852abc7351db Mon Sep 17 00:00:00 2001 From: IanWold Date: Sat, 25 Nov 2023 11:05:47 -0600 Subject: [PATCH] Typos fix --- .../write_your_own_rdbms_versioned_migration_boilerplate.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md b/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md index 344809f..9aa8920 100644 --- a/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md +++ b/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md @@ -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(NpgsqlConnection cnonnection, string query) +static T Query(NpgsqlConnection connection, string query) { var command = GetCommand(query, connection); return (T)command.ExecuteScalar();