RelationalCollectionShaperExpression 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RelationalCollectionShaperExpression(Int32, Expression, Expression, Expression, Expression, INavigation, Type)
注意
Use ctor which takes value comaprers.
注意
Use ctor which takes value comparers.
创建 RelationalCollectionShaperExpression 类的新实例。
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)
参数
- collectionId
- Int32
正在塑造的集合的唯一 ID。
- parentIdentifier
- Expression
父元素的标识符。
- outerIdentifier
- Expression
外部元素的标识符。
- selfIdentifier
- Expression
集合中元素的标识符。
- innerShaper
- Expression
用于创建集合的各个元素的表达式。
- navigation
- INavigation
与此集合关联的导航(如果有)。
- elementType
- Type
集合中各个元素的 clr 类型。
- 属性
适用于
RelationalCollectionShaperExpression(Expression, Expression, Expression, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, Expression, INavigationBase, Type)
创建 RelationalCollectionShaperExpression 类的新实例。
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)
参数
- parentIdentifier
- Expression
父元素的标识符。
- outerIdentifier
- Expression
外部元素的标识符。
- selfIdentifier
- Expression
集合中元素的标识符。
- parentIdentifierValueComparers
- IReadOnlyList<ValueComparer>
用于比较父标识符的值比较器的列表。
- outerIdentifierValueComparers
- IReadOnlyList<ValueComparer>
用于比较外部标识符的值比较器的列表。
- selfIdentifierValueComparers
- IReadOnlyList<ValueComparer>
用于比较自身标识符的值比较器的列表。
- innerShaper
- Expression
用于创建集合的各个元素的表达式。
- navigation
- INavigationBase
与此集合关联的导航(如果有)。
- elementType
- Type
集合中各个元素的 clr 类型。
适用于
RelationalCollectionShaperExpression(Int32, Expression, Expression, Expression, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, IReadOnlyList<ValueComparer>, Expression, INavigationBase, Type)
注意
Use ctor without collectionId
创建 RelationalCollectionShaperExpression 类的新实例。
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)
参数
- collectionId
- Int32
正在塑造的集合的唯一 ID。
- parentIdentifier
- Expression
父元素的标识符。
- outerIdentifier
- Expression
外部元素的标识符。
- selfIdentifier
- Expression
集合中元素的标识符。
- parentIdentifierValueComparers
- IReadOnlyList<ValueComparer>
用于比较父标识符的值比较器的列表。
- outerIdentifierValueComparers
- IReadOnlyList<ValueComparer>
用于比较外部标识符的值比较器的列表。
- selfIdentifierValueComparers
- IReadOnlyList<ValueComparer>
用于比较自身标识符的值比较器的列表。
- innerShaper
- Expression
用于创建集合的各个元素的表达式。
- navigation
- INavigationBase
与此集合关联的导航(如果有)。
- elementType
- Type
集合中各个元素的 clr 类型。
- 属性