Interface IRowComparerCommand<TLeft, TRight>
Commands for specifying which columns to include and how to compare two rows of potentially different types.
Also see RowComparer<TLeft, TRight> and Compare Dataflow Columns. Use IRowComparerCommand<T> if the rows have the same type.
Inherited Members
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public interface IRowComparerCommand<TLeft, TRight> : IFluentInterface where TLeft : class where TRight : class
Type Parameters
Name | Description |
---|---|
TLeft | The type of the left row. |
TRight | The type of the right row. |
Methods
Asc(String)
Includes the specified column pair in the comparison, with values evaluated in ascending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Columns must have identical types (although nullability can differ). If this is not the case, use an overload that specifies the comparison explicitly.
While string
columns use case sensitive comparisons with the current
culture, do instead use overloads that specifies a String
Declaration
IRowComparerCommand<TLeft, TRight> Asc(string columnName)
Parameters
Type | Name | Description |
---|---|---|
String | columnName | Name of the left and right columns. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Invalid |
|
Asc(String, String)
Includes the specified column pair in the comparison, with values evaluated in ascending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Columns must have identical types (although nullability can differ). If this is not the case, use an overload that specifies the comparison explicitly.
While string
columns use case sensitive comparisons with the current
culture, do instead use overloads that specifies a String
Declaration
IRowComparerCommand<TLeft, TRight> Asc(string leftColumnName, string rightColumnName)
Parameters
Type | Name | Description |
---|---|---|
String | leftColumnName | Name of the left column. |
String | rightColumnName | Name of the right column. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Invalid |
|
Asc(String, String, StringComparer)
Includes the specified column pair in the comparison, with values evaluated in ascending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Asc(string leftColumnName, string rightColumnName, StringComparer stringComparer)
Parameters
Type | Name | Description |
---|---|---|
String | leftColumnName | Name of the left column. |
String | rightColumnName | Name of the right column. |
String |
stringComparer | The String |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Asc(String, StringComparer)
Includes the specified column pair in the comparison, with values evaluated in ascending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Asc(string columnName, StringComparer stringComparer)
Parameters
Type | Name | Description |
---|---|---|
String | columnName | Name of the left and right columns. |
String |
stringComparer | The String |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Asc<TLeftColumn, TRightColumn>(String, Comparison<TLeftColumn, TRightColumn>)
Includes the specified column pair in the comparison, with values evaluated in ascending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Asc<TLeftColumn, TRightColumn>(string columnName, Comparison<TLeftColumn, TRightColumn> columnComparison)
Parameters
Type | Name | Description |
---|---|---|
String | columnName | Name of the left and right columns. |
Comparison<TLeftColumn, TRightColumn> | columnComparison | The column comparison. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Type Parameters
Name | Description |
---|---|
TLeftColumn | The type of the left column. |
TRightColumn | The type of the right column. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Asc<TLeftColumn, TRightColumn>(String, String, Comparison<TLeftColumn, TRightColumn>)
Includes the specified column pair in the comparison, with values evaluated in ascending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Asc<TLeftColumn, TRightColumn>(string leftColumnName, string rightColumnName, Comparison<TLeftColumn, TRightColumn> columnComparison)
Parameters
Type | Name | Description |
---|---|---|
String | leftColumnName | Name of the left column. |
String | rightColumnName | Name of the right column. |
Comparison<TLeftColumn, TRightColumn> | columnComparison | The column comparison. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Type Parameters
Name | Description |
---|---|
TLeftColumn | The type of the left column. |
TRightColumn | The type of the right column. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Desc(String)
Includes the specified column pair in the comparison, with values evaluated in descending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Columns must have identical types (although nullability can differ). If this is not the case, use an overload that specifies the comparison explicitly.
While string
columns use case sensitive comparisons with the current
culture, do instead use overloads that specifies a String
Declaration
IRowComparerCommand<TLeft, TRight> Desc(string columnName)
Parameters
Type | Name | Description |
---|---|---|
String | columnName | Name of the left and right columns. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Invalid |
|
Desc(String, String)
Includes the specified column pair in the comparison, with values evaluated in descending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Columns must have identical types (although nullability can differ). If this is not the case, use an overload that specifies the comparison explicitly.
While string
columns use case sensitive comparisons with the current
culture, do instead use overloads that specifies a String
Declaration
IRowComparerCommand<TLeft, TRight> Desc(string leftColumnName, string rightColumnName)
Parameters
Type | Name | Description |
---|---|---|
String | leftColumnName | Name of the left column. |
String | rightColumnName | Name of the right column. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Invalid |
|
Desc(String, String, StringComparer)
Includes the specified column pair in the comparison, with values evaluated in descending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Desc(string leftColumnName, string rightColumnName, StringComparer stringComparer)
Parameters
Type | Name | Description |
---|---|---|
String | leftColumnName | Name of the left column. |
String | rightColumnName | Name of the right column. |
String |
stringComparer | The String |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Desc(String, StringComparer)
Includes the specified column pair in the comparison, with values evaluated in descending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Desc(string columnName, StringComparer stringComparer)
Parameters
Type | Name | Description |
---|---|---|
String | columnName | Name of the left and right columns. |
String |
stringComparer | The String |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Desc<TLeftColumn, TRightColumn>(String, Comparison<TLeftColumn, TRightColumn>)
Includes the specified column pair in the comparison, with values evaluated in descending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Desc<TLeftColumn, TRightColumn>(string columnName, Comparison<TLeftColumn, TRightColumn> columnComparison)
Parameters
Type | Name | Description |
---|---|---|
String | columnName | Name of the left and right columns. |
Comparison<TLeftColumn, TRightColumn> | columnComparison | The column comparison. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Type Parameters
Name | Description |
---|---|
TLeftColumn | The type of the left column. |
TRightColumn | The type of the right column. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|
Desc<TLeftColumn, TRightColumn>(String, String, Comparison<TLeftColumn, TRightColumn>)
Includes the specified column pair in the comparison, with values evaluated in descending order.
Column name matching is ordinal case insensitive, but a case sensitive match takes precedence over a case insensitive match.
Declaration
IRowComparerCommand<TLeft, TRight> Desc<TLeftColumn, TRightColumn>(string leftColumnName, string rightColumnName, Comparison<TLeftColumn, TRightColumn> columnComparison)
Parameters
Type | Name | Description |
---|---|---|
String | leftColumnName | Name of the left column. |
String | rightColumnName | Name of the right column. |
Comparison<TLeftColumn, TRightColumn> | columnComparison | The column comparison. |
Returns
Type | Description |
---|---|
IRow |
The instance itself, for chaining multiple commands together. |
Type Parameters
Name | Description |
---|---|
TLeftColumn | The type of the left column. |
TRightColumn | The type of the right column. |
Exceptions
Type | Condition |
---|---|
Argument |
|
Argument |
|
Invalid |
|