@@ -19,7 +19,7 @@ public static partial class DatabaseConnection
1919 /// </summary>
2020 /// <returns>A prepared statement.</returns>
2121 /// <param name="This">The database connection</param>
22- /// <param name="tableMapping ">The table mapping .</param >
22+ /// <typeparam name="T ">The mapped type .</typeparam >
2323 public static IStatement PrepareDeleteStatement < T > ( this IDatabaseConnection This )
2424 {
2525 Contract . Requires ( This != null ) ;
@@ -60,9 +60,9 @@ private static IEnumerable<KeyValuePair<long,T>> YieldDeleteAll<T>(
6060 /// </summary>
6161 /// <returns><c>true</c>, if an object was found and deleted, <c>false</c> otherwise.</returns>
6262 /// <param name="This">The database connection.</param>
63- /// <param name="tableMapping">The table mapping.</param>
6463 /// <param name="primaryKey">A primary key.</param>
6564 /// <param name="deleted">If found in the database, the deleted object.</param>
65+ /// <param name="resultSelector">A transform function to apply to each row.</param>
6666 /// <typeparam name="T">The mapped type.</typeparam>
6767 public static bool TryDelete < T > (
6868 this IDatabaseConnection This ,
@@ -91,8 +91,8 @@ public static bool TryDelete<T>(
9191 /// </summary>
9292 /// <returns>A dictionary mapping the primary key to its value if found in the database.</returns>
9393 /// <param name="This">The database connection.</param>
94- /// <param name="tableMapping">The table mapping.</param>
9594 /// <param name="primaryKeys">An IEnumerable of primary keys to delete.</param>
95+ /// <param name="resultSelector">A transform function to apply to each row.</param>
9696 /// <typeparam name="T">The mapped type.</typeparam>
9797 public static IReadOnlyDictionary < long , T > DeleteAll < T > (
9898 this IDatabaseConnection This ,
@@ -113,7 +113,7 @@ public static IReadOnlyDictionary<long,T> DeleteAll<T>(
113113 /// Drops the table if it exists. Otherwise this is a no-op.
114114 /// </summary>
115115 /// <param name="This">The database connection.</param>
116- /// <param name="table ">The table name .</param >
116+ /// <typeparam name="T ">The mapped type .</typeparam >
117117 /// <seealso href="https://www.sqlite.org/lang_droptable.html"/>
118118 public static void DropTableIfExists < T > ( this IDatabaseConnection This )
119119 {
@@ -128,7 +128,7 @@ public static void DropTableIfExists<T>(this IDatabaseConnection This)
128128 /// Deletes all rows in a given table.
129129 /// </summary>
130130 /// <param name="This">The database connection.</param>
131- /// <param name="table ">The table name .</param >
131+ /// <typeparam name="T ">The mapped type .</typeparam >
132132 public static void DeleteAllRows < T > ( this IDatabaseConnection This )
133133 {
134134 Contract . Requires ( This != null ) ;
@@ -145,8 +145,8 @@ public static partial class AsyncDatabaseConnection
145145 /// </summary>
146146 /// <returns>A task that completes with a dictionary mapping the primary key to its value if found in the database.</returns>
147147 /// <param name="This">The database connection.</param>
148- /// <param name="tableMapping">The table mapping.</param>
149148 /// <param name="primaryKeys">An IEnumerable of primary keys to delete.</param>
149+ /// <param name="resultSelector">A transform function to apply to each row.</param>
150150 /// <param name="ct">A cancellation token that can be used to cancel the operation.</param>
151151 /// <typeparam name="T">The mapped type.</typeparam>
152152 public static Task < IReadOnlyDictionary < long , T > > DeleteAllAsync < T > (
@@ -167,8 +167,8 @@ public static Task<IReadOnlyDictionary<long,T>> DeleteAllAsync<T>(
167167 /// </summary>
168168 /// <returns>A task that completes with a dictionary mapping the primary key to its value if found in the database.</returns>
169169 /// <param name="This">The database connection.</param>
170- /// <param name="tableMapping">The table mapping.</param>
171170 /// <param name="primaryKeys">An IEnumerable of primary keys to delete.</param>
171+ /// <param name="resultSelector">A transform function to apply to each row.</param>
172172 /// <typeparam name="T">The mapped type.</typeparam>
173173 public static Task < IReadOnlyDictionary < long , T > > DeleteAllAsync < T > (
174174 this IAsyncDatabaseConnection This ,
@@ -187,9 +187,8 @@ public static Task<IReadOnlyDictionary<long,T>> DeleteAllAsync<T>(
187187 /// Drops the table if exists async.
188188 /// </summary>
189189 /// <returns>The table if exists async.</returns>
190- /// <param name="This">This.</param>
191- /// <param name="table">The table name.</param>
192- /// <param name="ct">Ct.</param>
190+ /// <param name="This">The database connection.</param>
191+ /// <param name="ct">The cancellation token.</param>
193192 public static Task DropTableIfExistsAsync < T > ( this IAsyncDatabaseConnection This , CancellationToken ct )
194193 {
195194 Contract . Requires ( This != null ) ;
@@ -201,8 +200,8 @@ public static Task DropTableIfExistsAsync<T>(this IAsyncDatabaseConnection This,
201200 /// Drops the table if exists async.
202201 /// </summary>
203202 /// <returns>The table if exists async.</returns>
204- /// <param name="This">This .</param>
205- /// <param name="table ">The table name .</param >
203+ /// <param name="This">The database connection .</param>
204+ /// <typeparam name="T ">The mapped type .</typeparam >
206205 public static Task DropTableIfExistsAsync < T > ( this IAsyncDatabaseConnection This )
207206 {
208207 Contract . Requires ( This != null ) ;
@@ -214,8 +213,8 @@ public static Task DropTableIfExistsAsync<T>(this IAsyncDatabaseConnection This)
214213 /// </summary>
215214 /// <returns>A task that completes when all rows are deleted succesfully.</returns>
216215 /// <param name="This">The database connection.</param>
217- /// <param name="table">The table name.</param>
218216 /// <param name="ct">A cancellation token that can be used to cancel the operation.</param>
217+ /// <typeparam name="T">The mapped type.</typeparam>
219218 public static Task DeleteAllRowsAsync < T > ( this IAsyncDatabaseConnection This , CancellationToken ct )
220219 {
221220 Contract . Requires ( This != null ) ;
@@ -227,7 +226,7 @@ public static Task DeleteAllRowsAsync<T>(this IAsyncDatabaseConnection This, Can
227226 /// </summary>
228227 /// <returns>A task that completes when all rows are deleted succesfully.</returns>
229228 /// <param name="This">The database connection.</param>
230- /// <param name="table ">The table name .</param >
229+ /// <typeparam name="T ">The mapped type .</typeparam >
231230 public static Task DeleteAllRowsAsync < T > ( this IAsyncDatabaseConnection This )
232231 {
233232 Contract . Requires ( This != null ) ;
0 commit comments