共用方式為


NavigationExpansionExtensibilityHelper.CreateQueryRoot 方法

定義

多載

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

建立新的 EntityQueryRootExpression

CreateQueryRoot(IEntityType, QueryRootExpression)

建立新的 QueryRootExpression

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

建立新的 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

參數

entityType
IEntityType

EntityQueryRootExpression 的實體類型。

source
EntityQueryRootExpression

來源運算式。

傳回

實作

適用於

CreateQueryRoot(IEntityType, QueryRootExpression)

建立新的 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

參數

entityType
IEntityType

QueryRootExpression 的實體類型。

source
QueryRootExpression

來源運算式。

傳回

實作

適用於