Share via


IncludeExpression Constructors

Definition

Overloads

IncludeExpression(Expression, Expression, INavigation)
IncludeExpression(Expression, Expression, INavigationBase)

Creates a new instance of the IncludeExpression class. The navigation will be set as loaded after completing the Include.

IncludeExpression(Expression, Expression, INavigationBase, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

IncludeExpression(Expression, Expression, INavigation)

public IncludeExpression (System.Linq.Expressions.Expression entityExpression, System.Linq.Expressions.Expression navigationExpression, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
new Microsoft.EntityFrameworkCore.Query.IncludeExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Query.IncludeExpression
Public Sub New (entityExpression As Expression, navigationExpression As Expression, navigation As INavigation)

Parameters

entityExpression
Expression
navigationExpression
Expression
navigation
INavigation

Applies to

IncludeExpression(Expression, Expression, INavigationBase)

Creates a new instance of the IncludeExpression class. The navigation will be set as loaded after completing the Include.

public IncludeExpression (System.Linq.Expressions.Expression entityExpression, System.Linq.Expressions.Expression navigationExpression, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation);
new Microsoft.EntityFrameworkCore.Query.IncludeExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.Query.IncludeExpression
Public Sub New (entityExpression As Expression, navigationExpression As Expression, navigation As INavigationBase)

Parameters

entityExpression
Expression

An expression to get entity which is performing include.

navigationExpression
Expression

An expression to get included navigation element.

navigation
INavigationBase

The navigation for this include operation.

Applies to

IncludeExpression(Expression, Expression, INavigationBase, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public IncludeExpression (System.Linq.Expressions.Expression entityExpression, System.Linq.Expressions.Expression navigationExpression, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, bool setLoaded);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.IncludeExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * bool -> Microsoft.EntityFrameworkCore.Query.IncludeExpression
Public Sub New (entityExpression As Expression, navigationExpression As Expression, navigation As INavigationBase, setLoaded As Boolean)

Parameters

entityExpression
Expression
navigationExpression
Expression
navigation
INavigationBase
setLoaded
Boolean
Attributes

Applies to