InMemoryEntityTypeExtensions.GetInMemoryQuery 方法

定義

多載

GetInMemoryQuery(IEntityType)

取得 LINQ 查詢,做為此類型查詢的預設來源。

GetInMemoryQuery(IReadOnlyEntityType)

取得 LINQ 查詢,做為此類型查詢的預設來源。

GetInMemoryQuery(IEntityType)

取得 LINQ 查詢,做為此類型查詢的預設來源。

public static System.Linq.Expressions.LambdaExpression GetInMemoryQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetInMemoryQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> System.Linq.Expressions.LambdaExpression
<Extension()>
Public Function GetInMemoryQuery (entityType As IEntityType) As LambdaExpression

參數

entityType
IEntityType

要取得記憶體內部查詢的實體類型。

傳回

做為預設來源的 LINQ 查詢。

適用於

GetInMemoryQuery(IReadOnlyEntityType)

取得 LINQ 查詢,做為此類型查詢的預設來源。

public static System.Linq.Expressions.LambdaExpression? GetInMemoryQuery (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetInMemoryQuery : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> System.Linq.Expressions.LambdaExpression
<Extension()>
Public Function GetInMemoryQuery (entityType As IReadOnlyEntityType) As LambdaExpression

參數

entityType
IReadOnlyEntityType

要取得記憶體內部查詢的實體類型。

傳回

做為預設來源的 LINQ 查詢。

適用於