I cant understand why resultSet2 is empty! Only the first assert passes!
List<Tree> resultSet1 = this.datacontext.Trees.Where(t=>t.RiskRating.Contains("bad")).ToList();
Assert.IsTrue(resultSet1.count() == 3);
List<Tree> resultSet2 = this.datacontext.Trees.ToList().Where(t=>t.RiskRating.Contains("bad")).ToList();
Assert.IsTrue(resultSet2.count() == 3);
Thanks!
Ashley