Interface IEntityLedger
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.EntitySetLedger, "dbo.LT_EntityLedgers", "EntityLedger", IsStandingDataEntity = false)]
public interface IEntityLedger : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.ZeroToOne, "Entity", "Ledgers", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityKeyProperty]
Guid? EntityID { get; set; }
Property Value
EntitySetEntityID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.EntitySet, "ID", SingleJoinType.ZeroToOne, "Entity Set", "Ledgers", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityKeyProperty]
Guid? EntitySetEntityID { get; set; }
Property Value
IsDefaultLedger
Declaration
[EntityProperty(SQLType.Bit, false, "0")]
[EntityDescription("Indicates this ledger is the default ledger used by the system when the transaction code is setup with no ledger - a user selectable one.")]
bool IsDefaultLedger { get; set; }
Property Value
LedgerID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Ledger, "ID", SingleJoinType.One, "Ledger", "Entity Ledgers", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityKeyProperty]
[RequiredNoDefaultIDValidation]
Guid LedgerID { get; set; }
Property Value
Extension Methods