共用方式為


INavigationExpansionExtensibilityHelper.CreateQueryRoot 方法

定義

多載

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

建立新的 EntityQueryRootExpression

CreateQueryRoot(IEntityType, QueryRootExpression)

建立新的 QueryRootExpression

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

建立新的 EntityQueryRootExpression

public 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
Public Function CreateQueryRoot (entityType As IEntityType, source As EntityQueryRootExpression) As EntityQueryRootExpression

參數

entityType
IEntityType

EntityQueryRootExpression 的實體類型。

source
EntityQueryRootExpression

來源運算式。

傳回

適用於

CreateQueryRoot(IEntityType, QueryRootExpression)

建立新的 QueryRootExpression

public 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
Public Function CreateQueryRoot (entityType As IEntityType, source As QueryRootExpression) As QueryRootExpression

參數

entityType
IEntityType

QueryRootExpression 的實體類型。

source
QueryRootExpression

來源運算式。

傳回

適用於