RelationalQueryableMethodTranslatingExpressionVisitor.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 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
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 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
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