Share via


RelationalSplitCollectionShaperExpression Constructors

Definition

Overloads

RelationalSplitCollectionShaperExpression(Expression, Expression, IReadOnlyList<ValueComparer>, SelectExpression, Expression, INavigationBase, Type)

Creates a new instance of the RelationalCollectionShaperExpression class.

RelationalSplitCollectionShaperExpression(Int32, Expression, Expression, IReadOnlyList<ValueComparer>, SelectExpression, Expression, INavigationBase, Type)
Obsolete.

Creates a new instance of the RelationalCollectionShaperExpression class.

RelationalSplitCollectionShaperExpression(Expression, Expression, IReadOnlyList<ValueComparer>, SelectExpression, Expression, INavigationBase, Type)

Creates a new instance of the RelationalCollectionShaperExpression class.

public RelationalSplitCollectionShaperExpression (System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression childIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> identifierValueComparers, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.RelationalSplitCollectionShaperExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.RelationalSplitCollectionShaperExpression
Public Sub New (parentIdentifier As Expression, childIdentifier As Expression, identifierValueComparers As IReadOnlyList(Of ValueComparer), selectExpression As SelectExpression, innerShaper As Expression, navigation As INavigationBase, elementType As Type)

Parameters

parentIdentifier
Expression

An identifier for the parent element.

childIdentifier
Expression

An identifier for the child element.

identifierValueComparers
IReadOnlyList<ValueComparer>

A list of value comparers to compare identifiers.

selectExpression
SelectExpression

A SQL query to get values for this collection from database.

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

RelationalSplitCollectionShaperExpression(Int32, Expression, Expression, IReadOnlyList<ValueComparer>, SelectExpression, Expression, INavigationBase, Type)

Caution

Use ctor without collectionId

Creates a new instance of the RelationalCollectionShaperExpression class.

public RelationalSplitCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression childIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> identifierValueComparers, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Type elementType);
[System.Obsolete("Use ctor without collectionId")]
public RelationalSplitCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression childIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> identifierValueComparers, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.RelationalSplitCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.RelationalSplitCollectionShaperExpression
[<System.Obsolete("Use ctor without collectionId")>]
new Microsoft.EntityFrameworkCore.Query.RelationalSplitCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.RelationalSplitCollectionShaperExpression
Public Sub New (collectionId As Integer, parentIdentifier As Expression, childIdentifier As Expression, identifierValueComparers As IReadOnlyList(Of ValueComparer), selectExpression As SelectExpression, innerShaper As Expression, navigation As INavigationBase, elementType As Type)

Parameters

collectionId
Int32

A unique id for the collection being shaped.

parentIdentifier
Expression

An identifier for the parent element.

childIdentifier
Expression

An identifier for the child element.

identifierValueComparers
IReadOnlyList<ValueComparer>

A list of value comparers to compare identifiers.

selectExpression
SelectExpression

A SQL query to get values for this collection from database.

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.

Attributes

Applies to