public ProfiledDbTransaction([NotNull] DbTransaction innerTransaction, [NotNull] ProfiledDbConnection innerConnection) { this.InnerTransaction = innerTransaction ?? throw new ArgumentNullException(nameof(innerTransaction)); this.InnerConnection = innerConnection ?? throw new ArgumentNullException(nameof(innerConnection)); }
public ProfiledDbCommand(DbCommand innerCommand, ProfiledDbConnection innerConnection) : this(innerCommand) { this.InnerConnection = innerConnection; }