private TestOrdersIncludeDetailsWithFirst ( ) : void | ||
return | void |
public virtual void TestOrdersIncludeDetailsWithFirst()
{
var q = from o in db.Orders.Include(o => o.Details)
where o.OrderID == 10248
select o;
Order so = q.Single();
AssertValue(3, so.Details.Count());
Order fo = q.First();
AssertValue(3, fo.Details.Count());
}