CollectionShaperExpression Constructors
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework