Share via


QueryableMethodTranslatingExpressionVisitor.CreateShapedQueryExpression Method

Definition

Overloads

CreateShapedQueryExpression(IEntityType)

Creates a ShapedQueryExpression for the given entity type.

CreateShapedQueryExpression(Type)
Obsolete.

Creates a ShapedQueryExpression for the given type by finding its entity type in the model.

CreateShapedQueryExpression(IEntityType)

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

Creates a ShapedQueryExpression for the given entity type.

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

Parameters

entityType
IEntityType

The entity type.

Returns

A shaped query expression for the given entity type.

Applies to

CreateShapedQueryExpression(Type)

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

Caution

Use overload which takes IEntityType.

Creates a ShapedQueryExpression for the given type by finding its entity type in the model.

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

Parameters

elementType
Type

The clr type of the entity type to look for.

Returns

A shaped query expression for the given clr type.

Attributes

Applies to