public void TestSessionSelectWithStringAsResult() { NorthwindSession ns = new NorthwindSession(this.Northwind.Provider); var list = ns.Customers.Select(c => c.ContactName).ToList(); Assert.AreEqual(91, list.Count); }
public void TestSessionSelectWithEntityAsResult() { NorthwindSession ns = new NorthwindSession(this.Northwind.Provider); var list = ns.Customers.ToList(); Assert.AreEqual(91, list.Count); }