RelationalQueryableMethodTranslatingExpressionVisitor.CreateShapedQueryExpression 方法

定义

重载

CreateShapedQueryExpression(IEntityType)

ShapedQueryExpression为给定实体类型创建 。

CreateShapedQueryExpression(Type)
已过时.

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

CreateShapedQueryExpression(IEntityType)

ShapedQueryExpression为给定实体类型创建 。

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression CreateShapedQueryExpression (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
override this.CreateShapedQueryExpression : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function CreateShapedQueryExpression (entityType As IEntityType) As ShapedQueryExpression

参数

entityType
IEntityType

实体类型。

返回

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

适用于

CreateShapedQueryExpression(Type)

注意

Use overload which takes IEntityType.

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

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

参数

elementType
Type

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

返回

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

属性

适用于