Beispiel #1
0
        public void QueryEntity()
        {
            var factory = new Data.RepositoryFactory();
            Business.User userBiz = new Business.User(factory);

            int result = ((List<Entities.User>)userBiz.Query(u => u.Id > 0)).Count;

            int resultAll = ((List<Entities.User>)userBiz.GetAll()).Count;

            Assert.AreEqual(result, resultAll);
        }