Ejemplo n.º 1
0
 /// <summary>
 /// Compiles one or more SQL statements.
 /// </summary>
 /// <param name="This">The asynchronous database connection.</param>
 /// <param name="sql">One or more semicolon delimited SQL statements.</param>
 /// <returns>A <see cref="Task"/> that completes with a <see cref="IReadOnlyList&lt;T&gt;"/>
 /// of the compiled <see cref="IAsyncStatement"/>instances.</returns>
 public static Task <IReadOnlyList <IAsyncStatement> > PrepareAllAsync(this IAsyncDatabaseConnection This, string sql) =>
 This.PrepareAllAsync(sql, CancellationToken.None);