Skip to content

Commit a4b1c56

Browse files
Update SqlMapper.cs (#1675)
Fix verbiage for return type documentation comments.
1 parent 1235a38 commit a4b1c56

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Dapper/SqlMapper.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ public static IEnumerable<T> Query<T>(this IDbConnection cnn, string sql, object
740740
/// <param name="commandTimeout">The command timeout (in seconds).</param>
741741
/// <param name="commandType">The type of command to execute.</param>
742742
/// <returns>
743-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
743+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
744744
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
745745
/// </returns>
746746
public static T QueryFirst<T>(this IDbConnection cnn, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -760,7 +760,7 @@ public static T QueryFirst<T>(this IDbConnection cnn, string sql, object param =
760760
/// <param name="commandTimeout">The command timeout (in seconds).</param>
761761
/// <param name="commandType">The type of command to execute.</param>
762762
/// <returns>
763-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
763+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
764764
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
765765
/// </returns>
766766
public static T QueryFirstOrDefault<T>(this IDbConnection cnn, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -780,7 +780,7 @@ public static T QueryFirstOrDefault<T>(this IDbConnection cnn, string sql, objec
780780
/// <param name="commandTimeout">The command timeout (in seconds).</param>
781781
/// <param name="commandType">The type of command to execute.</param>
782782
/// <returns>
783-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
783+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
784784
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
785785
/// </returns>
786786
public static T QuerySingle<T>(this IDbConnection cnn, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -800,7 +800,7 @@ public static T QuerySingle<T>(this IDbConnection cnn, string sql, object param
800800
/// <param name="commandTimeout">The command timeout (in seconds).</param>
801801
/// <param name="commandType">The type of command to execute.</param>
802802
/// <returns>
803-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
803+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
804804
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
805805
/// </returns>
806806
public static T QuerySingleOrDefault<T>(this IDbConnection cnn, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -822,7 +822,7 @@ public static T QuerySingleOrDefault<T>(this IDbConnection cnn, string sql, obje
822822
/// <param name="commandType">The type of command to execute.</param>
823823
/// <exception cref="ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
824824
/// <returns>
825-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
825+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
826826
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
827827
/// </returns>
828828
public static IEnumerable<object> Query(this IDbConnection cnn, Type type, string sql, object param = null, IDbTransaction transaction = null, bool buffered = true, int? commandTimeout = null, CommandType? commandType = null)
@@ -845,7 +845,7 @@ public static IEnumerable<object> Query(this IDbConnection cnn, Type type, strin
845845
/// <param name="commandType">The type of command to execute.</param>
846846
/// <exception cref="ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
847847
/// <returns>
848-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
848+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
849849
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
850850
/// </returns>
851851
public static object QueryFirst(this IDbConnection cnn, Type type, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -867,7 +867,7 @@ public static object QueryFirst(this IDbConnection cnn, Type type, string sql, o
867867
/// <param name="commandType">The type of command to execute.</param>
868868
/// <exception cref="ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
869869
/// <returns>
870-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
870+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
871871
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
872872
/// </returns>
873873
public static object QueryFirstOrDefault(this IDbConnection cnn, Type type, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -889,7 +889,7 @@ public static object QueryFirstOrDefault(this IDbConnection cnn, Type type, stri
889889
/// <param name="commandType">The type of command to execute.</param>
890890
/// <exception cref="ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
891891
/// <returns>
892-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
892+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
893893
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
894894
/// </returns>
895895
public static object QuerySingle(this IDbConnection cnn, Type type, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -911,7 +911,7 @@ public static object QuerySingle(this IDbConnection cnn, Type type, string sql,
911911
/// <param name="commandType">The type of command to execute.</param>
912912
/// <exception cref="ArgumentNullException"><paramref name="type"/> is <c>null</c>.</exception>
913913
/// <returns>
914-
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
914+
/// A sequence of data of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
915915
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
916916
/// </returns>
917917
public static object QuerySingleOrDefault(this IDbConnection cnn, Type type, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)
@@ -928,7 +928,7 @@ public static object QuerySingleOrDefault(this IDbConnection cnn, Type type, str
928928
/// <param name="cnn">The connection to query on.</param>
929929
/// <param name="command">The command used to query on this connection.</param>
930930
/// <returns>
931-
/// A sequence of data of <typeparamref name="T"/>; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
931+
/// A sequence of data of <typeparamref name="T"/>; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
932932
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
933933
/// </returns>
934934
public static IEnumerable<T> Query<T>(this IDbConnection cnn, CommandDefinition command)
@@ -944,7 +944,7 @@ public static IEnumerable<T> Query<T>(this IDbConnection cnn, CommandDefinition
944944
/// <param name="cnn">The connection to query on.</param>
945945
/// <param name="command">The command used to query on this connection.</param>
946946
/// <returns>
947-
/// A single instance or null of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
947+
/// A single instance or null of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
948948
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
949949
/// </returns>
950950
public static T QueryFirst<T>(this IDbConnection cnn, CommandDefinition command) =>
@@ -957,7 +957,7 @@ public static T QueryFirst<T>(this IDbConnection cnn, CommandDefinition command)
957957
/// <param name="cnn">The connection to query on.</param>
958958
/// <param name="command">The command used to query on this connection.</param>
959959
/// <returns>
960-
/// A single or null instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
960+
/// A single or null instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
961961
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
962962
/// </returns>
963963
public static T QueryFirstOrDefault<T>(this IDbConnection cnn, CommandDefinition command) =>
@@ -970,7 +970,7 @@ public static T QueryFirstOrDefault<T>(this IDbConnection cnn, CommandDefinition
970970
/// <param name="cnn">The connection to query on.</param>
971971
/// <param name="command">The command used to query on this connection.</param>
972972
/// <returns>
973-
/// A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
973+
/// A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
974974
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
975975
/// </returns>
976976
public static T QuerySingle<T>(this IDbConnection cnn, CommandDefinition command) =>
@@ -983,7 +983,7 @@ public static T QuerySingle<T>(this IDbConnection cnn, CommandDefinition command
983983
/// <param name="cnn">The connection to query on.</param>
984984
/// <param name="command">The command used to query on this connection.</param>
985985
/// <returns>
986-
/// A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column in assumed, otherwise an instance is
986+
/// A single instance of the supplied type; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is
987987
/// created per row, and a direct column-name===member-name mapping is assumed (case insensitive).
988988
/// </returns>
989989
public static T QuerySingleOrDefault<T>(this IDbConnection cnn, CommandDefinition command) =>

0 commit comments

Comments
 (0)