src/EntityFramework/Infrastructure/DbQuery`.cs
/// <summary>
/// Specifies the related objects to include in the query results.
/// </summary>
/// <remarks>
/// 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.
/// </remarks>
/// <param name="path"> The dot-separated list of related objects to return in the query results. </param>
/// <returns>
/// A new <see cref="DbQuery{T}" /> with the defined query path.
/// </returns>
Specifies the related objects to include in the query results.
Specifies the related objects to include in the query results .
public virtual DbQuery<TResult> Include(string path)
        {
            Check.NotEmpty(path, "path");
            return _internalQuery == null ? this : new DbQuery<TResult>(_internalQuery.Include(path));
        }
public virtual DbQuery < TResult > Include ( string path ) { Check . NotEmpty ( path , " " ) ; return _internalQuery == null ? this : new DbQuery < TResult > ( _internalQuery . Include ( path ) ) ; }
Specifies the related objects to include in the query results.
Specifies the related objects to include in the query results .
A new  with the defined query path.
A new with the defined query path .
path
string
The dot-separated list of related objects to return in the query results.
The dot - separated list of related objects to return in the query results .
remarks
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. Other instances of DbQuery 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 to
specify multiple paths for the query.
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 . Other instances of DbQuery 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 to specify multiple paths for the query .