Search Results for

    Show / Hide Table of Contents

    Interface IResultsComparerFactory

    Creates IResultsComparer and keeps track of 'static' Comparer information.

    Namespace: LemonEdge.Connections.Database.Model
    Assembly: LemonEdge.Database.Connector.dll
    Syntax
    public interface IResultsComparerFactory

    Properties

    ComparerInfo

    Comparer info for types.

    Declaration
    Dictionary<(Type, Type), ITableResultComparer> ComparerInfo { get; }
    Property Value
    Type Description
    Dictionary<(Type, Type), ITableResultComparer>

    Methods

    Create(IDatabaseInfo, IDatabaseInfo, bool)

    Creates an IResultsComparer.

    Declaration
    IResultsComparer Create(IDatabaseInfo info1, IDatabaseInfo info2, bool includeAccountId)
    Parameters
    Type Name Description
    IDatabaseInfo info1

    The first database to compare

    IDatabaseInfo info2

    The second database to compare

    bool includeAccountId

    Whether to include accountId

    Returns
    Type Description
    IResultsComparer

    DefaultPropertiesToIgnore(Type, Type)

    Returns a list of properties to ignore, given a type.

    Declaration
    string[] DefaultPropertiesToIgnore(Type entityType, Type forType)
    Parameters
    Type Name Description
    Type entityType

    The type

    Type forType

    If entityType is a permission, this would be the type that the permission is for. You would typically use EntityType.

    Returns
    Type Description
    string[]

    A list of property names

    OverrideKeys(Type, Type)

    Gets any overridden Key columns for the given type.

    Declaration
    string[] OverrideKeys(Type entityType, Type forType)
    Parameters
    Type Name Description
    Type entityType

    The type

    Type forType

    If entityType is a permission, this would be the type that the permission is for. You would typically use EntityType.

    Returns
    Type Description
    string[]

    A list of property names

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.