QueryableMethodTranslatingExpressionVisitor.CreateShapedQueryExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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
Entity Framework