Search Results for

    Show / Hide Table of Contents

    Class GLAccount

    Inheritance
    object
    GLAccount
    Implements
    ITableResultComparer
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API.Core.Migrations.Testing
    Assembly: LemonEdge.API.Core.Migrations.dll
    Syntax
    public class GLAccount : ITableResultComparer

    Constructors

    GLAccount()

    Declaration
    public GLAccount()

    Properties

    CompareTable

    True indicates the table should be compared, false indicates it should be skipped

    Declaration
    public bool CompareTable { get; }
    Property Value
    Type Description
    bool

    OverrideKeys

    Returns optional columns to use as the key fields for comparrisons

    Declaration
    public string[] OverrideKeys { get; }
    Property Value
    Type Description
    string[]

    PropertiesToIgnore

    A list of columns that should not be included in any comparrison.

    This can be used to skip random fields that are not important for a comparrison. For instance the HashedPassword is skipped in internal testing as it contains the ID as part of the salt for the hash which is always different

    Declaration
    public string[] PropertiesToIgnore { get; }
    Property Value
    Type Description
    string[]

    TableComparisonFilter

    Return null to compare all data in the table as normal.

    Return a valid QueryableExecuter to alter the comparrison to just a subset of records that should be compared by default

    Declaration
    public QueryableFilter TableComparisonFilter { get; }
    Property Value
    Type Description
    QueryableFilter

    Implements

    ITableResultComparer

    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.