DbQuery.Include Method (String)
Specifies the related objects to include in the query results.
Assembly: EntityFramework (in EntityFramework.dll)
Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will OrderLines be included, but also Orders. When you call the Include method, the query path is only valid on the returned instance of the DbQuery&lt;T&gt;. Other instances of DbQuery&lt;T&gt; and the object context itself are not affected. Because the Include method returns the query object, you can call this method multiple times on an DbQuery&lt;T&gt; to specify multiple paths for the query.