CommonAppenders..::..Join<(Of <(<'T1, T2>)>)> Method (ILink<(Of <(<'Tuple<(Of <(<'List<(Of <(<'T1>)>)>, List<(Of <(<'T2>)>)>>)>)>>)>)>, String, String, JoinOptions)
Joins a set of child objects to their parent objects.
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public static ILink<List<T1>> Join<T1, T2>( this ILink<Tuple<List<T1>, List<T2>>> previousLink, string keyName, string targetCollectionName, JoinOptions joinOptions )
<ExtensionAttribute> _ Public Shared Function Join(Of T1, T2) ( _ previousLink As ILink(Of Tuple(Of List(Of T1), List(Of T2))), _ keyName As String, _ targetCollectionName As String, _ joinOptions As JoinOptions _ ) As ILink(Of List(Of T1))
[ExtensionAttribute] public: generic<typename T1, typename T2> static ILink<List<T1>^>^ Join( ILink<Tuple<List<T1>^, List<T2>^>^>^ previousLink, String^ keyName, String^ targetCollectionName, JoinOptions^ joinOptions )
Type Parameters
- T1
- The type of the parent object.
- T2
- The type of the child object.
Parameters
- previousLink
- Type: Tortuga.Chain..::..ILink<(Of <(<'Tuple<(Of <(<'List<(Of <(<'T1>)>)>, List<(Of <(<'T2>)>)>>)>)>>)>)>
The previous link.
- keyName
- Type: String
The name of the property used to get the primary key from the parent object and the foreign key from the child object.
- targetCollectionName
- Type: String
The name of the collection property on the parent to add the child to.
- joinOptions
- Type: Tortuga.Chain..::..JoinOptions
The join options.