public async Task Exec(IExprExec statement) { this.CheckDisposed(); var sql = this._sqlExporter.ToSql(statement); var command = await this.CreateCommand(sql); try { await command.ExecuteNonQueryAsync(); } catch (Exception e) { throw new SqDatabaseCommandException(sql, e.Message, e); } }
public Task Exec(IExprExec statement) { throw new NotImplementedException(); }
public static Task Exec(this IExprExec query, ISqDatabase database) => database.Exec(query);