Esempio n. 1
0
        public void ShouldReturnNullScalarOnMissingValue()
        {
            var sut = new SqlServerConnection("Data Source=.;Initial Catalog=DbSessionTests;Integrated Security=True;");

            Assert.That(sut.GetScalar("SELECT TestValue FROM TestTable WHERE Id = 10000"), Is.Null);
        }