public void SqlTrannectionShouldExecuteNonQuery() { using (var testSubject = new SqlServerTranection(LocalMasterDb)) { testSubject.ExecuteNonQuery(string.Format(CreateJunkTable, this._tableUid)) .Wait(); testSubject.ExecuteScalar<int>(string.Format(CountJunkTables, this._tableUid)) .Result.Should().Be(1); } }
private void RemoveJunkTable(SqlServerTranection testSubject) { testSubject.ExecuteNonQuery(string.Format(DropJunkTable, this._tableUid)) .Wait(); }