Exemplo n.º 1
0
        public void Session_Exists(ISession session)
        {
            Assert.IsTrue(session.Exists(new Employee { EmployeeId = 1 }));
            Assert.IsTrue(session.Exists(new Employee { EmployeeId = 2 }));
            Assert.IsTrue(session.Exists(new Employee { EmployeeId = 3 }));

            Assert.IsFalse(session.Exists(new Employee { EmployeeId = 123123 }));
        }