private async Task <int> ExecuteCommand(bool autoCommit, AsyncWrappingCommonArgs async) { var rowsAffected = await _sqlCommand.ExecuteNonQueryImpl(async).ConfigureAwait(false); if (autoCommit && _sqlCommand.IsDDLCommand) { await CommitTransaction(async).ConfigureAwait(false); } return(rowsAffected); }