Beispiel #1
0
 /// <summary>
 /// Compiles a SQL statement.
 /// </summary>
 /// <param name="This">The asynchronous database connection.</param>
 /// <param name="sql">The SQL statement to compile.</param>
 /// <returns>Task that completes with a <see cref="IAsyncStatement"/> that
 /// can be used to query the result set asynchronously.</returns>
 public static Task <IAsyncStatement> PrepareStatementAsync(this IAsyncDatabaseConnection This, string sql) =>
 This.PrepareStatementAsync(sql, CancellationToken.None);