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
正在成形之集合的唯一識別碼。
- parentIdentifier
- Expression
父元素的識別碼。
- childIdentifier
- Expression
子專案的識別碼。
- identifierValueComparers
- IReadOnlyList<ValueComparer>
要比較識別碼的值比較子清單。
- selectExpression
- SelectExpression
SQL 查詢,可從資料庫取得此集合的值。
- innerShaper
- Expression
用來建立集合個別專案的運算式。
- navigation
- INavigationBase
與這個集合相關聯的導覽,如果有的話。
- elementType
- Type
集合中個別專案的 clr 類型。
- 屬性