SqlSet.Include Method
Specifies the related objects to include in the query results.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public SqlSet Include(
string path
)
Parameters
path
Type: System.String
Dot-separated list of related objects to return in the query results.
Return Value
Type: SqlSet
A new SqlSet with the defined query path.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This method can only be used on sets where the result type is an annotated class. |