| ExternalLineHelpersToExternalTuple Method (IEnumerableTupleString, Object, Int32) |
Translate a record expressed as a sequence of key-value pairs into a tuple used by by intake suppliers and output consumers in case of a single source or target.
Namespace:
Mavidian.DataConveyer.Common
Assembly:
DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax public static Tuple<ExternalLine, int> ToExternalTuple(
this IEnumerable<Tuple<string, Object>> record,
int clstrNo
)
<ExtensionAttribute>
Public Shared Function ToExternalTuple (
record As IEnumerable(Of Tuple(Of String, Object)),
clstrNo As Integer
) As Tuple(Of ExternalLine, Integer)
Parameters
- record
- Type: System.Collections.GenericIEnumerableTupleString, Object
A sequence of key-value pairs. - clstrNo
- Type: SystemInt32
Cluster number of the record; may be 0, which means undetermined.
Return Value
Type:
TupleExternalLine,
Int32A tuple consisting of an
ExternalLine object and a source or target number equal to 1.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTupleString,
Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also