Search Results for

    Show / Hide Table of Contents

    Class RowEqualityComparer<T>

    Creates an IEqualityComparer<T> for comparing two rows of the same type for equality, using high performance generated code. This is used by grouping overloads in AggregateTransformFactory, also see the examples in Dataflow Aggregations.

    To create instances of this class that base the comparison on specified columns, use Create<T>(Action<IGroupByCommand>). To base the comparison on a grouping key function, use Create<T, TKey>(Func<T, TKey>).

    Inheritance
    Object
    RowEqualityComparer<T>
    Implements
    IEqualityComparer<T>
    Namespace: actionETL
    Assembly: actionETL.dll
    Syntax
    public class RowEqualityComparer<T> : IEqualityComparer<T> where T : class
    Type Parameters
    Name Description
    T

    The type of the rows.

    Methods

    Equals(T, T)

    Determines whether the specified objects are equal.

    Declaration
    public bool Equals(T x, T y)
    Parameters
    Type Name Description
    T x

    The first object of type T to compare.

    T y

    The second object of type T to compare.

    Returns
    Type Description
    Boolean

    true if the specified objects are equal; otherwise false.

    GetHashCode(T)

    Returns a hash code for this instance.

    Declaration
    public int GetHashCode(T obj)
    Parameters
    Type Name Description
    T obj

    The object.

    Returns
    Type Description
    Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Implements

    System.Collections.Generic.IEqualityComparer<T>

    See Also

    RowEqualityComparer
    IGroupByCommand
    IGroupByCopyCommand
    AggregateTransformFactory
    In This Article
    Back to top Copyright © 2023 Envobi Ltd