Exemple #1
0
        public void It_should_get_users()
        {
            var          s = PrepMethods.PrepareStorm();
            StormDataSet result;

            using (var stormConnection = s.OpenConnection(PrepMethods.PrepareDB()))
            {
                using (var tran = stormConnection.BeginTransaction())
                {
                    result = tran.Projection("User")
                             .Select("ID")
                             .Select("FirstName")
                             .Select("LastName")
                             .Execute();
                }
            }

            Assert.Equal(20, result.Count());
        }
Exemple #2
0
 public TestingResultReader()
 {
     storm = PrepMethods.PrepareStorm();
 }