QueryableMethodTranslatingExpressionVisitor.CreateShapedQueryExpression 方法

定义

重载

CreateShapedQueryExpression(IEntityType)

ShapedQueryExpression为给定实体类型创建 。

CreateShapedQueryExpression(Type)
已过时.

ShapedQueryExpression通过在模型中查找给定类型的实体类型,为该类型创建 。

CreateShapedQueryExpression(IEntityType)

Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs

ShapedQueryExpression为给定实体类型创建 。

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression CreateShapedQueryExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? CreateShapedQueryExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member CreateShapedQueryExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function CreateShapedQueryExpression (entityType As IEntityType) As ShapedQueryExpression

参数

entityType
IEntityType

实体类型。

返回

给定实体类型的形状查询表达式。

适用于

CreateShapedQueryExpression(Type)

Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs
Source:
QueryableMethodTranslatingExpressionVisitor.cs

注意

Use overload which takes IEntityType.

ShapedQueryExpression通过在模型中查找给定类型的实体类型,为该类型创建 。

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression CreateShapedQueryExpression (Type elementType);
[System.Obsolete("Use overload which takes IEntityType.")]
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression CreateShapedQueryExpression (Type elementType);
abstract member CreateShapedQueryExpression : Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
[<System.Obsolete("Use overload which takes IEntityType.")>]
abstract member CreateShapedQueryExpression : Type -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function CreateShapedQueryExpression (elementType As Type) As ShapedQueryExpression

参数

elementType
Type

要查找的实体类型的 clr 类型。

返回

给定 clr 类型的形状查询表达式。

属性

适用于