Class GLAccountWrapperWithNames
Inheritance
GLAccountWrapperWithNames
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
Properties
GLAccount
Declaration
public GLAccount GLAccount { get; }
Property Value
this[int]
Declaration
public Guid? this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
WrappedItem
The main item that is wrapped by this wrapper
Declaration
public IBaseEntity WrappedItem { get; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(GLAccountWrapperWithNames)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(GLAccountWrapperWithNames source)
Parameters
GetName(int)
Declaration
public GLAccountName GetName(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Returns
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
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)
Declaration
protected override void OnPropertyChanged(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
The property that is changing its value
|
Overrides
SetName(int, Guid?)
Declaration
public void SetName(int index, Guid? value)
Parameters
Type |
Name |
Description |
int |
index |
|
Guid? |
value |
|
Implements
Extension Methods