Share via


NavigationExpansionExtensibilityHelper.CreateQueryRoot Method

Definition

Overloads

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

Creates a new EntityQueryRootExpression.

CreateQueryRoot(IEntityType, QueryRootExpression)

Creates a new QueryRootExpression.

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

Creates a new EntityQueryRootExpression.

public virtual Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression CreateQueryRoot (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression? source);
abstract member CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression -> Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression
override this.CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression -> Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression
Public Overridable Function CreateQueryRoot (entityType As IEntityType, source As EntityQueryRootExpression) As EntityQueryRootExpression

Parameters

entityType
IEntityType

Entity type of the new EntityQueryRootExpression.

source
EntityQueryRootExpression

Source expression.

Returns

Implements

Applies to

CreateQueryRoot(IEntityType, QueryRootExpression)

Creates a new QueryRootExpression.

public virtual Microsoft.EntityFrameworkCore.Query.QueryRootExpression CreateQueryRoot (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Query.QueryRootExpression? source);
abstract member CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.QueryRootExpression -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
override this.CreateQueryRoot : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.QueryRootExpression -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Public Overridable Function CreateQueryRoot (entityType As IEntityType, source As QueryRootExpression) As QueryRootExpression

Parameters

entityType
IEntityType

Entity type of the new QueryRootExpression.

source
QueryRootExpression

Source expression.

Returns

Implements

Applies to