From e0f04e95ec63c8db647072eaa8e853d41440b09c Mon Sep 17 00:00:00 2001 From: GitHubPang <61439577+GitHubPang@users.noreply.github.com> Date: Sat, 9 Jan 2021 12:32:10 +0800 Subject: [PATCH] Fix typos --- Dapper.Contrib/SqlMapperExtensions.cs | 4 ++-- Dapper.Rainbow/Database.Async.cs | 8 ++++---- Dapper/SqlMapper.Async.cs | 24 ++++++++++++------------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Dapper.Contrib/SqlMapperExtensions.cs b/Dapper.Contrib/SqlMapperExtensions.cs index eb05d190d..9a30e805c 100644 --- a/Dapper.Contrib/SqlMapperExtensions.cs +++ b/Dapper.Contrib/SqlMapperExtensions.cs @@ -47,7 +47,7 @@ public interface ITableNameMapper /// The connection to get a database type name from. public delegate string GetDatabaseTypeDelegate(IDbConnection connection); /// - /// The function to get a a table name from a given + /// The function to get a table name from a given /// /// The to get a table name for. public delegate string TableNameMapperDelegate(Type type); @@ -730,7 +730,7 @@ public class KeyAttribute : Attribute } /// - /// Specifies that this field is a explicitly set primary key in the database + /// Specifies that this field is an explicitly set primary key in the database /// [AttributeUsage(AttributeTargets.Property)] public class ExplicitKeyAttribute : Attribute diff --git a/Dapper.Rainbow/Database.Async.cs b/Dapper.Rainbow/Database.Async.cs index fcbc6a204..cdbf7e41f 100644 --- a/Dapper.Rainbow/Database.Async.cs +++ b/Dapper.Rainbow/Database.Async.cs @@ -111,7 +111,7 @@ public Task QueryFirstOrDefaultAsync(string sql, dynamic param = null) => _connection.QueryFirstOrDefaultAsync(sql, param as object, _transaction, _commandTimeout); /// - /// Perform a asynchronous multi-mapping query with 2 input types. + /// Perform an asynchronous multi-mapping query with 2 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -129,7 +129,7 @@ public Task> QueryAsync(string sq _connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout); /// - /// Perform a asynchronous multi-mapping query with 3 input types. + /// Perform an asynchronous multi-mapping query with 3 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -148,7 +148,7 @@ public Task> QueryAsync(s _connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout); /// - /// Perform a asynchronous multi-mapping query with 4 input types. + /// Perform an asynchronous multi-mapping query with 4 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -168,7 +168,7 @@ public Task> QueryAsync - /// Perform a asynchronous multi-mapping query with 5 input types. + /// Perform an asynchronous multi-mapping query with 5 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. diff --git a/Dapper/SqlMapper.Async.cs b/Dapper/SqlMapper.Async.cs index 3e6487423..73fbef6de 100644 --- a/Dapper/SqlMapper.Async.cs +++ b/Dapper/SqlMapper.Async.cs @@ -654,7 +654,7 @@ private static async Task ExecuteImplAsync(IDbConnection cnn, CommandDefini } /// - /// Perform a asynchronous multi-mapping query with 2 input types. + /// Perform an asynchronous multi-mapping query with 2 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -675,7 +675,7 @@ public static Task> QueryAsync(th new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn); /// - /// Perform a asynchronous multi-mapping query with 2 input types. + /// Perform an asynchronous multi-mapping query with 2 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -690,7 +690,7 @@ public static Task> QueryAsync(th MultiMapAsync(cnn, command, map, splitOn); /// - /// Perform a asynchronous multi-mapping query with 3 input types. + /// Perform an asynchronous multi-mapping query with 3 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -712,7 +712,7 @@ public static Task> QueryAsync - /// Perform a asynchronous multi-mapping query with 3 input types. + /// Perform an asynchronous multi-mapping query with 3 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -728,7 +728,7 @@ public static Task> QueryAsync(cnn, command, map, splitOn); /// - /// Perform a asynchronous multi-mapping query with 4 input types. + /// Perform an asynchronous multi-mapping query with 4 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -751,7 +751,7 @@ public static Task> QueryAsync - /// Perform a asynchronous multi-mapping query with 4 input types. + /// Perform an asynchronous multi-mapping query with 4 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -768,7 +768,7 @@ public static Task> QueryAsync(cnn, command, map, splitOn); /// - /// Perform a asynchronous multi-mapping query with 5 input types. + /// Perform an asynchronous multi-mapping query with 5 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -792,7 +792,7 @@ public static Task> QueryAsync - /// Perform a asynchronous multi-mapping query with 5 input types. + /// Perform an asynchronous multi-mapping query with 5 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -810,7 +810,7 @@ public static Task> QueryAsync(cnn, command, map, splitOn); /// - /// Perform a asynchronous multi-mapping query with 6 input types. + /// Perform an asynchronous multi-mapping query with 6 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -835,7 +835,7 @@ public static Task> QueryAsync - /// Perform a asynchronous multi-mapping query with 6 input types. + /// Perform an asynchronous multi-mapping query with 6 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -854,7 +854,7 @@ public static Task> QueryAsync(cnn, command, map, splitOn); /// - /// Perform a asynchronous multi-mapping query with 7 input types. + /// Perform an asynchronous multi-mapping query with 7 input types. /// This returns a single type, combined from the raw types via . /// /// The first type in the recordset. @@ -921,7 +921,7 @@ private static async Task> MultiMapAsync - /// Perform a asynchronous multi-mapping query with an arbitrary number of input types. + /// Perform an asynchronous multi-mapping query with an arbitrary number of input types. /// This returns a single type, combined from the raw types via . /// /// The combined type to return.