Search Results for

    Show / Hide Table of Contents

    Class GLAccountWrapperWithNames

    Inheritance
    object
    BaseEntity
    BaseEntityWithPermissions
    GLAccount
    GLAccountWrapperWithNames
    Implements
    IGLAccount
    IBaseEntityWithPermissions
    IHasFolderStructure
    IBaseEntity
    IEquatable<IBaseEntity>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ISetCopier
    ICloneableAsync<IGLAccount>
    IWrapper
    ICloneableAsync<GLAccountWrapperWithNames>
    Inherited Members
    GLAccount.CopyFromSource(IGLAccount)
    GLAccount.ToString()
    GLAccount.FolderID
    GLAccount.FolderID_Label
    GLAccount.FolderID_Label_Silent
    GLAccount.ChartID
    GLAccount.ChartID_Label
    GLAccount.ChartID_Label_Silent
    GLAccount.ParentGLAccountID
    GLAccount.ParentGLAccountID_Label
    GLAccount.ParentGLAccountID_Label_Silent
    GLAccount.Name
    GLAccount.Code
    GLAccount.Type
    GLAccount.Type_Tooltip
    GLAccount.NaturalBalance
    GLAccount.NaturalBalance_Tooltip
    GLAccount.BankAccountNumber
    GLAccount.BankAccountOwningEntityID
    GLAccount.BankAccountOwningEntityID_Label
    GLAccount.BankAccountOwningEntityID_Label_Silent
    GLAccount.BankID
    GLAccount.BankID_Label
    GLAccount.BankID_Label_Silent
    GLAccount.CurrencyID
    GLAccount.CurrencyID_Label
    GLAccount.CurrencyID_Label_Silent
    GLAccount.DeactivationDate
    GLAccount.PeriodEndStatus
    GLAccount.PeriodEndStatus_Tooltip
    BaseEntityWithPermissions.IsLocked(object)
    BaseEntityWithPermissions.CanWriteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.PreLoadPermissions<T>(IEnumerable<T>, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanDeleteItem(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntityWithPermissions.CanChangeItemPermissions(object, IEntityRetriever, IReadOnlyCache, Guid)
    BaseEntity.HISTORY_ENDROWUPDATE_COLNAME
    BaseEntity.HasTrackedPropertyChanged(string)
    BaseEntity.OriginalTrackedPropertyValue(string)
    BaseEntity.OriginalTrackedPropertyValue<T>(string)
    BaseEntity.ClearTrackedOriginalValues()
    BaseEntity.GetAllOriginalTrackedPropertyValues()
    BaseEntity.GetLabel(string)
    BaseEntity.SetLabel(string, string)
    BaseEntity.SetSilentLabel(string, string)
    BaseEntity.ResetChangedTrackedPropertiesToOriginalValues()
    BaseEntity.AddTrackedOriginalValue(string, object)
    BaseEntity.SnapshotProperties()
    BaseEntity.RestoreFromSnapshot(Dictionary<string, object>)
    BaseEntity.IsBasePropertyName(string)
    BaseEntity.IsBaseRelationshipID(string)
    BaseEntity.OnPropertyChanging(string)
    BaseEntity.Equals(IBaseEntity)
    BaseEntity.GetHashCode()
    BaseEntity.Equals(object)
    BaseEntity.Clone(object)
    BaseEntity.CopyFromSource(object)
    BaseEntity.TrackChanges
    BaseEntity.ModifiedByUserID_Label
    BaseEntity.ModifiedByUserID_Label_Silent
    BaseEntity.CanvasID_Label
    BaseEntity.CanvasID_Label_Silent
    BaseEntity.AlgorithmStepID_Label
    BaseEntity.AlgorithmStepID_Label_Silent
    BaseEntity.SafeID_Label
    BaseEntity.SafeID_Label_Silent
    BaseEntity.AccountID
    BaseEntity.ID
    BaseEntity.LastUpdated
    BaseEntity.ModifiedByUserID
    BaseEntity.CanvasID
    BaseEntity.AlgorithmStepID
    BaseEntity.SafeID
    BaseEntity.PropertyChanged
    BaseEntity.PropertyChanging
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.API.Entities.FinancialServices.Accounting
    Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
    Syntax
    public class GLAccountWrapperWithNames : GLAccount, IGLAccount, IBaseEntityWithPermissions, IHasFolderStructure, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IGLAccount>, IWrapper, ICloneableAsync<GLAccountWrapperWithNames>

    Constructors

    GLAccountWrapperWithNames()

    Declaration
    public GLAccountWrapperWithNames()

    Fields

    PivotPropName

    Declaration
    public const string PivotPropName = "NameID"
    Field Value
    Type Description
    string

    Properties

    GLAccount

    Declaration
    public GLAccount GLAccount { get; }
    Property Value
    Type Description
    GLAccount

    this[int]

    Declaration
    public Guid? this[int index] { get; set; }
    Parameters
    Type Name Description
    int index
    Property Value
    Type Description
    Guid?

    WrappedItem

    The main item that is wrapped by this wrapper

    Declaration
    public IBaseEntity WrappedItem { get; }
    Property Value
    Type Description
    IBaseEntity

    Methods

    CopyFromEntity(IBaseEntity)

    Declaration
    protected override void CopyFromEntity(IBaseEntity src)
    Parameters
    Type Name Description
    IBaseEntity src
    Overrides
    GLAccount.CopyFromEntity(IBaseEntity)

    CopyFromSource(GLAccountWrapperWithNames)

    Updates all properties in this item to have the same properties as the source object.

    Declaration
    public void CopyFromSource(GLAccountWrapperWithNames source)
    Parameters
    Type Name Description
    GLAccountWrapperWithNames source

    The source object to copy all values from.

    GetName(int)

    Declaration
    public GLAccountName GetName(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    GLAccountName

    Init(Action<object, string>, IEntityUpdater, GLAccount, GLClassification[], List<GLAccountName>)

    Declaration
    public void Init(Action<object, string> onChange, IEntityUpdater updater, GLAccount main, GLClassification[] headers, List<GLAccountName> values)
    Parameters
    Type Name Description
    Action<object, string> onChange
    IEntityUpdater updater
    GLAccount main
    GLClassification[] headers
    List<GLAccountName> values

    Init(Action<object, string>, IEntityUpdater, IBaseEntity, IBaseEntity[], IEnumerable<IBaseEntity>)

    Initializes this wrapper instance used in the UI

    Declaration
    public void Init(Action<object, string> onChange, IEntityUpdater updater, IBaseEntity mainItem, IBaseEntity[] headers, IEnumerable<IBaseEntity> pivotValues)
    Parameters
    Type Name Description
    Action<object, string> onChange

    Indicates a property not on the main item has been updated and the system needs to know about the change

    IEntityUpdater updater

    The updater context that holds the changes made to other entities in the wrapper

    IBaseEntity mainItem

    The main item being wrapper, the one returned by WrappedItem

    IBaseEntity[] headers

    The list of items holding the header columns being wrapped for this entity

    IEnumerable<IBaseEntity> pivotValues

    The optional list of items holding ths values that can be used against the headers

    OnPropertyChanged(string)

    Notifies any INotifyPropertyChanged listeners

    Declaration
    protected override void OnPropertyChanged(string propName)
    Parameters
    Type Name Description
    string propName

    The property that is changing its value

    Overrides
    BaseEntity.OnPropertyChanged(string)

    SetName(int, Guid?)

    Declaration
    public void SetName(int index, Guid? value)
    Parameters
    Type Name Description
    int index
    Guid? value

    Implements

    IGLAccount
    IBaseEntityWithPermissions
    IHasFolderStructure
    IBaseEntity
    IEquatable<T>
    INotifyPropertyChanged
    INotifyPropertyChanging
    ICloneableAsync
    ICanTrackProperties
    ISetCopier
    ICloneableAsync<T>
    IWrapper
    ICloneableAsync<T>

    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.