예제 #1
0
        public void TestMethod1()
        {
            IRepository<TestItem> repo = new InMemoryRepository<TestItem>();
            repo.Create(new TestItem() { ID = 1, Name = "Frank" });

            var item = repo.GetBy(p => p.ID == 1);
            item.Name = "Fred";
            int i = 0;
        }