Share via


CollectionShaperExpression Constructors

Definition

Overloads

CollectionShaperExpression(Expression, Expression, INavigation, Type)
CollectionShaperExpression(Expression, Expression, INavigationBase, Type)

Creates a new instance of the CollectionShaperExpression class.

CollectionShaperExpression(Expression, Expression, INavigation, Type)

public CollectionShaperExpression (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Sub New (projection As Expression, innerShaper As Expression, navigation As INavigation, elementType As Type)

Parameters

projection
Expression
innerShaper
Expression
navigation
INavigation
elementType
Type

Applies to

CollectionShaperExpression(Expression, Expression, INavigationBase, Type)

Creates a new instance of the CollectionShaperExpression class.

public CollectionShaperExpression (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Type elementType);
public CollectionShaperExpression (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Sub New (projection As Expression, innerShaper As Expression, navigation As INavigationBase, elementType As Type)

Parameters

projection
Expression

An expression reprensenting how to get value from query to create the collection.

innerShaper
Expression

An expression used to create individual elements of the collection.

navigation
INavigationBase

A navigation associated with this collection, if any.

elementType
Type

The clr type of individual elements in the collection.

Applies to