//[TestMethod]
 public void Can_add_a_new_instance_of_an_entity_to_the_database()
 {
     using (UnitOfWork.Start(dbKey))
     {
         var person = new Person { Name = "John Doe", Birthdate = new DateTime(1915, 12, 15) };
         UnitOfWork.CurrentSession(dbKey).Save(person);
         UnitOfWork.Current.TransactionalFlush();
     }
 }
        public void Can_store_values_in_local_data()
        {
            Local.Data["one"] = "This is a string";
            Local.Data["two"] = 99.9m;
            var person = new Person { Name = "John Doe", Birthdate = new DateTime(1915, 12, 15) };
            Local.Data[1] = person;

            Assert.AreEqual(3, Local.Data.Count);
            Assert.AreEqual("This is a string", Local.Data["one"]);
            Assert.AreEqual(99.9m, Local.Data["two"]);
            Assert.AreSame(person, Local.Data[1]);
        }