@@ -77,7 +77,7 @@ public static async Task<IDataReader> ExecuteReaderAsync(this IDbConnection conn
7777 /// <param name="options">The command options.</param>
7878 /// <param name="cancellationToken">The token to cancel the operation.</param>
7979 /// <returns>The sequence of objects whose properties correspond to the columns.</returns>
80- public static async Task < IEnumerable < dynamic > > QueryAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
80+ public static async Task < IEnumerable < ExpandoObject > > QueryAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
8181 await QueryAsync < ExpandoObject > ( connection , sql , parameters , options , cancellationToken ) ;
8282
8383 /// <summary>
@@ -103,7 +103,7 @@ public static async Task<IEnumerable<dynamic>> QueryAsync(this IDbConnection con
103103 /// <param name="cancellationToken">The token to cancel the operation.</param>
104104 /// <returns>The first row.</returns>
105105 /// <exception cref="InvalidOperationException">The result set is empty.</exception>
106- public static async Task < dynamic > QueryFirstAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
106+ public static async Task < ExpandoObject > QueryFirstAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
107107 await QueryFirstAsync < ExpandoObject > ( connection , sql , parameters , options , cancellationToken ) ;
108108
109109 /// <summary>
@@ -131,7 +131,7 @@ public static async Task<dynamic> QueryFirstAsync(this IDbConnection connection,
131131 /// <param name="options">The command options.</param>
132132 /// <param name="cancellationToken">The token to cancel the operation.</param>
133133 /// <returns>The first row, or <see langword="null"/> if not found.</returns>
134- public static async Task < dynamic ? > QueryFirstOrDefaultAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
134+ public static async Task < ExpandoObject ? > QueryFirstOrDefaultAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
135135 await QueryFirstOrDefaultAsync < ExpandoObject > ( connection , sql , parameters , options , cancellationToken ) ;
136136
137137 /// <summary>
@@ -159,7 +159,7 @@ public static async Task<dynamic> QueryFirstAsync(this IDbConnection connection,
159159 /// <param name="cancellationToken">The token to cancel the operation.</param>
160160 /// <returns>The single row.</returns>
161161 /// <exception cref="InvalidOperationException">The result set is empty or contains more than one record.</exception>
162- public static async Task < dynamic > QuerySingleAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
162+ public static async Task < ExpandoObject > QuerySingleAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
163163 await QuerySingleAsync < ExpandoObject > ( connection , sql , parameters , options , cancellationToken ) ;
164164
165165 /// <summary>
@@ -195,7 +195,7 @@ record = mapper.CreateInstance<T>(reader);
195195 /// <param name="options">The command options.</param>
196196 /// <param name="cancellationToken">The token to cancel the operation.</param>
197197 /// <returns>The single row, or <see langword="null"/> if not found.</returns>
198- public static async Task < dynamic ? > QuerySingleOrDefaultAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
198+ public static async Task < ExpandoObject ? > QuerySingleOrDefaultAsync ( this IDbConnection connection , string sql , ParameterCollection ? parameters = null , CommandOptions ? options = null , CancellationToken cancellationToken = default ) =>
199199 await QuerySingleOrDefaultAsync < ExpandoObject > ( connection , sql , parameters , options , cancellationToken ) ;
200200
201201 /// <summary>
0 commit comments