Beispiel #1
0
        public void ConnectionTest()
        {
            Continent continent = new Continent();

            continent.Id   = Guid.NewGuid();
            continent.Name = "Europa";
            continentRepository.Insert(continent);
            continentRepository.Commit();


            Continent result = continentRepository.Single(n => n.Name == "Europa");

            Assert.AreNotEqual(result.Name, string.Empty);

            continentRepository.Delete(result);
            continentRepository.Commit();
        }