예제 #1
0
 /// <summary>
 /// Compiles and executes multiple SQL statements.
 /// </summary>
 /// <param name="This">The asynchronous database connection.</param>
 /// <param name="sql">One or more semicolon delimited SQL statements.</param>
 /// <returns>A task that completes when all statements have been executed.</returns>
 public static Task ExecuteAllAsync(this IAsyncDatabaseConnection This, string sql) =>
 This.ExecuteAllAsync(sql, CancellationToken.None);