ObjectQuery<T>::Include Method (String^)
Specifies the related objects to include in the query results.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Query paths can be used with Entity SQL and LINQ queries.
Paths are all-inclusive. For example, if an include call indicates Include("Orders.OrderLines"), not only will OrderLines be included, but also Orders. For more information, see Loading Related Objects.
Because the ObjectQuery<T> to specify multiple paths for the query, as in the following example:method returns the query object, you can call this method multiple times on an
Available since 3.5