共用方式為


EntityQueryRootExpression 建構函式

定義

多載

EntityQueryRootExpression(IEntityType)

在沒有任何查詢提供者的情況下,建立 類別的新實例 EntityQueryRootExpression

EntityQueryRootExpression(IAsyncQueryProvider, IEntityType)

使用相關聯的查詢提供者,建立 類別的新實例 EntityQueryRootExpression

EntityQueryRootExpression(IEntityType)

在沒有任何查詢提供者的情況下,建立 類別的新實例 EntityQueryRootExpression

public EntityQueryRootExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
new Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression
Public Sub New (entityType As IEntityType)

參數

entityType
IEntityType

這個查詢根目錄所代表的實體類型。

適用於

EntityQueryRootExpression(IAsyncQueryProvider, IEntityType)

使用相關聯的查詢提供者,建立 類別的新實例 EntityQueryRootExpression

public EntityQueryRootExpression (Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider asyncQueryProvider, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
new Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression : Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression
Public Sub New (asyncQueryProvider As IAsyncQueryProvider, entityType As IEntityType)

參數

asyncQueryProvider
IAsyncQueryProvider

與此查詢根目錄相關聯的查詢提供者。

entityType
IEntityType

這個查詢根目錄所代表的實體類型。

適用於