コード例 #1
0
 public void count()
 {
     Assert.Equal(20, _db.Count <Post>());
     Assert.Equal(0, _db.Count <Post>(p => p.Id > 30));
     Assert.Equal(20, _db.Count <Post>(p => p.TopicId == null));
 }