共用方式為


QueryableMethodTranslatingExpressionVisitor.CreateShapedQueryExpression 方法

定義

多載

CreateShapedQueryExpression(IEntityType)

ShapedQueryExpression為指定的實體類型建立 。

CreateShapedQueryExpression(Type)
已淘汰.

ShapedQueryExpression藉由在模型中尋找其實體類型,為指定的型別建立 。

CreateShapedQueryExpression(IEntityType)

來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
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)

來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
QueryableMethodTranslatingExpressionVisitor.cs
來源:
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 類型的成形查詢運算式。

屬性

適用於