未验证 提交 6ec3804f 编写于 作者: N Nick Craver 提交者: GitHub

Merge pull request #1604 from GitHubPang/main

Fix typos
......@@ -47,7 +47,7 @@ public interface ITableNameMapper
/// <param name="connection">The connection to get a database type name from.</param>
public delegate string GetDatabaseTypeDelegate(IDbConnection connection);
/// <summary>
/// The function to get a a table name from a given <see cref="Type"/>
/// The function to get a table name from a given <see cref="Type"/>
/// </summary>
/// <param name="type">The <see cref="Type"/> to get a table name for.</param>
public delegate string TableNameMapperDelegate(Type type);
......@@ -730,7 +730,7 @@ public class KeyAttribute : Attribute
}
/// <summary>
/// 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
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class ExplicitKeyAttribute : Attribute
......
......@@ -111,7 +111,7 @@ public Task<int> UpdateAsync(TId id, dynamic data)
_connection.QueryFirstOrDefaultAsync<T>(sql, param as object, _transaction, _commandTimeout);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -129,7 +129,7 @@ public Task<int> UpdateAsync(TId id, dynamic data)
_connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -148,7 +148,7 @@ public Task<int> UpdateAsync(TId id, dynamic data)
_connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -168,7 +168,7 @@ public Task<int> UpdateAsync(TId id, dynamic data)
_connection.QueryAsync(sql, map, param as object, transaction, buffered, splitOn, commandTimeout);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......
......@@ -654,7 +654,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
}
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -675,7 +675,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -690,7 +690,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
MultiMapAsync<TFirst, TSecond, DontMap, DontMap, DontMap, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -712,7 +712,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -728,7 +728,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
MultiMapAsync<TFirst, TSecond, TThird, DontMap, DontMap, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -751,7 +751,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -768,7 +768,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
MultiMapAsync<TFirst, TSecond, TThird, TFourth, DontMap, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -792,7 +792,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -810,7 +810,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
MultiMapAsync<TFirst, TSecond, TThird, TFourth, TFifth, DontMap, DontMap, TReturn>(cnn, command, map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -835,7 +835,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
new CommandDefinition(sql, param, transaction, commandTimeout, commandType, buffered ? CommandFlags.Buffered : CommandFlags.None, default), map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -854,7 +854,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
MultiMapAsync<TFirst, TSecond, TThird, TFourth, TFifth, TSixth, DontMap, TReturn>(cnn, command, map, splitOn);
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TFirst">The first type in the recordset.</typeparam>
......@@ -921,7 +921,7 @@ private static async Task<int> ExecuteImplAsync(IDbConnection cnn, CommandDefini
}
/// <summary>
/// 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 <paramref name="map"/>.
/// </summary>
/// <typeparam name="TReturn">The combined type to return.</typeparam>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册