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