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 查询。

适用于