INavigationExpansionExtensibilityHelper.CreateQueryRoot 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
- 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
- source
- QueryRootExpression
來源表達。