コード例 #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));
 }
コード例 #2
0
 public ProfiledDbCommand(DbCommand innerCommand, ProfiledDbConnection innerConnection)
     : this(innerCommand)
 {
     this.InnerConnection = innerConnection;
 }