/// <summary> /// 执行SQL语句。 /// </summary> /// <param name="commandText">SQL字符串。</param> /// <param name="parameters">参数匿名类型。</param> /// <param name="commandType">SQL类型。</param> /// <param name="cancellationToken">取消标记。</param> /// <returns>返回影响的行数。</returns> public Task <bool> ExecuteNonQueryAsync(string commandText, object parameters = null, CommandType commandType = CommandType.Text, CancellationToken cancellationToken = default) => _executor.ExecuteNonQueryAsync(commandText, parameters, commandType, cancellationToken);