RelationalCollectionShaperExpression 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
RelationalCollectionShaperExpression(Int32, Expression, Expression, Expression, Expression, INavigation, Type)
Caution
Use ctor which takes value comaprers.
Caution
Use ctor which takes value comparers.
Creates a new instance of the RelationalCollectionShaperExpression class.
public RelationalCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Type elementType);
[System.Obsolete("Use ctor which takes value comaprers.")]
public RelationalCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Type elementType);
[System.Obsolete("Use ctor which takes value comparers.")]
public RelationalCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigation? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
[<System.Obsolete("Use ctor which takes value comaprers.")>]
new Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
[<System.Obsolete("Use ctor which takes value comparers.")>]
new Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigation * Type -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
Public Sub New (collectionId As Integer, parentIdentifier As Expression, outerIdentifier As Expression, selfIdentifier As Expression, innerShaper As Expression, navigation As INavigation, elementType As Type)
Parameters
- collectionId
- Int32
A unique id for the collection being shaped.
- parentIdentifier
- Expression
An identifier for the parent element.
- outerIdentifier
- Expression
An identifier for the outer element.
- selfIdentifier
- Expression
An identifier for the element in the collection.
- innerShaper
- Expression
An expression used to create individual elements of the collection.
- navigation
- INavigation
A navigation associated with this collection, if any.
- elementType
- Type
The clr type of individual elements in the collection.
- Attributes
Applies to
RelationalCollectionShaperExpression(Expression, Expression, Expression, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, Expression, INavigationBase, Type)
Creates a new instance of the RelationalCollectionShaperExpression class.
public RelationalCollectionShaperExpression (System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer>? parentIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer>? outerIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer>? selfIdentifierValueComparers, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
public RelationalCollectionShaperExpression (System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> parentIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> outerIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> selfIdentifierValueComparers, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
Public Sub New (parentIdentifier As Expression, outerIdentifier As Expression, selfIdentifier As Expression, parentIdentifierValueComparers As IReadOnlyList(Of ValueComparer), outerIdentifierValueComparers As IReadOnlyList(Of ValueComparer), selfIdentifierValueComparers As IReadOnlyList(Of ValueComparer), innerShaper As Expression, navigation As INavigationBase, elementType As Type)
Parameters
- parentIdentifier
- Expression
An identifier for the parent element.
- outerIdentifier
- Expression
An identifier for the outer element.
- selfIdentifier
- Expression
An identifier for the element in the collection.
- parentIdentifierValueComparers
- IReadOnlyList<ValueComparer>
A list of value comparers to compare parent identifier.
- outerIdentifierValueComparers
- IReadOnlyList<ValueComparer>
A list of value comparers to compare outer identifier.
- selfIdentifierValueComparers
- IReadOnlyList<ValueComparer>
A list of value comparers to compare self identifier.
- 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
RelationalCollectionShaperExpression(Int32, Expression, Expression, Expression, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, Expression, INavigationBase, Type)
Caution
Use ctor without collectionId
Creates a new instance of the RelationalCollectionShaperExpression class.
public RelationalCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> parentIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> outerIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> selfIdentifierValueComparers, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, Type elementType);
[System.Obsolete("Use ctor without collectionId")]
public RelationalCollectionShaperExpression (int collectionId, System.Linq.Expressions.Expression parentIdentifier, System.Linq.Expressions.Expression outerIdentifier, System.Linq.Expressions.Expression selfIdentifier, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer>? parentIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer>? outerIdentifierValueComparers, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer>? selfIdentifierValueComparers, System.Linq.Expressions.Expression innerShaper, Microsoft.EntityFrameworkCore.Metadata.INavigationBase? navigation, Type elementType);
new Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
[<System.Obsolete("Use ctor without collectionId")>]
new Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression : int * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer> * System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.INavigationBase * Type -> Microsoft.EntityFrameworkCore.Query.RelationalCollectionShaperExpression
Public Sub New (collectionId As Integer, parentIdentifier As Expression, outerIdentifier As Expression, selfIdentifier As Expression, parentIdentifierValueComparers As IReadOnlyList(Of ValueComparer), outerIdentifierValueComparers As IReadOnlyList(Of ValueComparer), selfIdentifierValueComparers As IReadOnlyList(Of ValueComparer), 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.
- outerIdentifier
- Expression
An identifier for the outer element.
- selfIdentifier
- Expression
An identifier for the element in the collection.
- parentIdentifierValueComparers
- IReadOnlyList<ValueComparer>
A list of value comparers to compare parent identifier.
- outerIdentifierValueComparers
- IReadOnlyList<ValueComparer>
A list of value comparers to compare outer identifier.
- selfIdentifierValueComparers
- IReadOnlyList<ValueComparer>
A list of value comparers to compare self identifier.
- 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
Entity Framework