CollectionResultExpression Constructor

Definition

Creates a new instance of the CollectionResultExpression class.

public CollectionResultExpression (Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression projectionBindingExpression, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.CollectionResultExpression : Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.CollectionResultExpression
Public Sub New (projectionBindingExpression As ProjectionBindingExpression, navigation As INavigationBase, elementType As Type)

Parameters

projectionBindingExpression
ProjectionBindingExpression

An expression representing how to get the subquery from SelectExpression to get the elements.

navigation
INavigationBase

A navigation associated with this collection, if any.

elementType
Type

The clr type of individual elements in the collection.

Applies to