Skip to content

Commit 6ec3804

Browse files
authored
Merge pull request DapperLib#1604 from GitHubPang/main
Fix typos
2 parents 0561b61 + e0f04e9 commit 6ec3804

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

Dapper.Contrib/SqlMapperExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public interface ITableNameMapper
4747
/// <param name="connection">The connection to get a database type name from.</param>
4848
public delegate string GetDatabaseTypeDelegate(IDbConnection connection);
4949
/// <summary>
50-
/// The function to get a a table name from a given <see cref="Type"/>
50+
/// The function to get a table name from a given <see cref="Type"/>
5151
/// </summary>
5252
/// <param name="type">The <see cref="Type"/> to get a table name for.</param>
5353
public delegate string TableNameMapperDelegate(Type type);
@@ -730,7 +730,7 @@ public class KeyAttribute : Attribute
730730
}
731731

732732
/// <summary>
733-
/// Specifies that this field is a explicitly set primary key in the database
733+
/// Specifies that this field is an explicitly set primary key in the database
734734
/// </summary>
735735
[AttributeUsage(AttributeTargets.Property)]
736736
public class ExplicitKeyAttribute : Attribute

Dapper.Rainbow/Database.Async.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public Task<T> QueryFirstOrDefaultAsync<T>(string sql, dynamic param = null) =>
111111
_connection.QueryFirstOrDefaultAsync<T>(sql, param as object, _transaction, _commandTimeout);
112112

113113
/// <summary>
114-
/// Perform a asynchronous multi-mapping query with 2 input types.
114+
/// Perform an asynchronous multi-mapping query with 2 input types.
115115
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
116116
/// </summary>
117117
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -129,7 +129,7 @@ public Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TReturn>(string sq
129129
_connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout);
130130

131131
/// <summary>
132-
/// Perform a asynchronous multi-mapping query with 3 input types.
132+
/// Perform an asynchronous multi-mapping query with 3 input types.
133133
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
134134
/// </summary>
135135
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -148,7 +148,7 @@ public Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TReturn>(s
148148
_connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout);
149149

150150
/// <summary>
151-
/// Perform a asynchronous multi-mapping query with 4 input types.
151+
/// Perform an asynchronous multi-mapping query with 4 input types.
152152
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
153153
/// </summary>
154154
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -168,7 +168,7 @@ public Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFourth, T
168168
_connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout);
169169

170170
/// <summary>
171-
/// Perform a asynchronous multi-mapping query with 5 input types.
171+
/// Perform an asynchronous multi-mapping query with 5 input types.
172172
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
173173
/// </summary>
174174
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>

Dapper/SqlMapper.Async.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
654654
}
655655

656656
/// <summary>
657-
/// Perform a asynchronous multi-mapping query with 2 input types.
657+
/// Perform an asynchronous multi-mapping query with 2 input types.
658658
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
659659
/// </summary>
660660
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -675,7 +675,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TReturn>(th
675675
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
676676

677677
/// <summary>
678-
/// Perform a asynchronous multi-mapping query with 2 input types.
678+
/// Perform an asynchronous multi-mapping query with 2 input types.
679679
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
680680
/// </summary>
681681
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -690,7 +690,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TReturn>(th
690690
MultiMapAsync<TFirst, TSecond, DontMap, DontMap, DontMap, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
691691

692692
/// <summary>
693-
/// Perform a asynchronous multi-mapping query with 3 input types.
693+
/// Perform an asynchronous multi-mapping query with 3 input types.
694694
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
695695
/// </summary>
696696
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -712,7 +712,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TRe
712712
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
713713

714714
/// <summary>
715-
/// Perform a asynchronous multi-mapping query with 3 input types.
715+
/// Perform an asynchronous multi-mapping query with 3 input types.
716716
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
717717
/// </summary>
718718
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -728,7 +728,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TRe
728728
MultiMapAsync<TFirst, TSecond, TThird, DontMap, DontMap, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
729729

730730
/// <summary>
731-
/// Perform a asynchronous multi-mapping query with 4 input types.
731+
/// Perform an asynchronous multi-mapping query with 4 input types.
732732
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
733733
/// </summary>
734734
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -751,7 +751,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFo
751751
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
752752

753753
/// <summary>
754-
/// Perform a asynchronous multi-mapping query with 4 input types.
754+
/// Perform an asynchronous multi-mapping query with 4 input types.
755755
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
756756
/// </summary>
757757
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -768,7 +768,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFo
768768
MultiMapAsync<TFirst, TSecond, TThird, TFourth, DontMap, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
769769

770770
/// <summary>
771-
/// Perform a asynchronous multi-mapping query with 5 input types.
771+
/// Perform an asynchronous multi-mapping query with 5 input types.
772772
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
773773
/// </summary>
774774
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -792,7 +792,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFo
792792
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
793793

794794
/// <summary>
795-
/// Perform a asynchronous multi-mapping query with 5 input types.
795+
/// Perform an asynchronous multi-mapping query with 5 input types.
796796
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
797797
/// </summary>
798798
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -810,7 +810,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFo
810810
MultiMapAsync<TFirst, TSecond, TThird, TFourth, TFifth, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
811811

812812
/// <summary>
813-
/// Perform a asynchronous multi-mapping query with 6 input types.
813+
/// Perform an asynchronous multi-mapping query with 6 input types.
814814
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
815815
/// </summary>
816816
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -835,7 +835,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFo
835835
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
836836

837837
/// <summary>
838-
/// Perform a asynchronous multi-mapping query with 6 input types.
838+
/// Perform an asynchronous multi-mapping query with 6 input types.
839839
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
840840
/// </summary>
841841
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -854,7 +854,7 @@ public static Task<IEnumerable<TReturn>> QueryAsync<TFirst, TSecond, TThird, TFo
854854
MultiMapAsync<TFirst, TSecond, TThird, TFourth, TFifth, TSixth, DontMap, TReturn>(cnn, command, map, splitOn);
855855

856856
/// <summary>
857-
/// Perform a asynchronous multi-mapping query with 7 input types.
857+
/// Perform an asynchronous multi-mapping query with 7 input types.
858858
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
859859
/// </summary>
860860
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
@@ -921,7 +921,7 @@ private static async Task<IEnumerable<TReturn>> MultiMapAsync<TFirst, TSecond, T
921921
}
922922

923923
/// <summary>
924-
/// Perform a asynchronous multi-mapping query with an arbitrary number of input types.
924+
/// Perform an asynchronous multi-mapping query with an arbitrary number of input types.
925925
/// This returns a single type, combined from the raw types via <paramref name="map"/>.
926926
/// </summary>
927927
/// <typeparam name="TReturn">The combined type to return.</typeparam>

0 commit comments

Comments
 (0)