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