Interface ITransactionLink
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.TransactionLink, "dbo.LT_TransactionLinks", "TransactionLink", IsStandingDataEntity = false, LabelColumn = "Description", CustomToString = true)]
[DefaultEntityIcon(ImageType.Link)]
public interface ITransactionLink : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Description
A user friendly description for this link
Declaration
[EntityProperty(SQLType.NVarChar, 2000, true)]
[EntityDescription("A user friendly description of this transaction link.")]
string Description { get; set; }
Property Value
Sequence
The sequence this transaction is in within a group
Declaration
[EntityProperty(SQLType.SmallInt, false, "1")]
[EntitySequence(1)]
[EntityDescription("The sequence this transaction is in within a group")]
short Sequence { get; set; }
Property Value
SourceItemID
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
Guid? SourceItemID { get; set; }
Property Value
SourceTransactionID
Links to ITransaction. The source transaction this target transaction is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Transaction, "ID", SingleJoinType.One, "Source Transaction", "Linked Transactions From Source", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
Guid SourceTransactionID { get; set; }
Property Value
TargetGroupedTransactionID
Links to IGroupedTransaction. The target group transaction this source transaction is related to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.GroupedTransaction, "ID", SingleJoinType.ZeroToOne, "Target Grouped Transaction", "Linked Transactions From Target Group", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityKeyProperty]
Guid? TargetGroupedTransactionID { get; set; }
Property Value
TargetTransactionID
Links to ITransaction. The target transaction this source transaction is related to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Transaction, "ID", SingleJoinType.ZeroToOne, "Target Transaction", "Linked Transactions From Target", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityKeyProperty]
Guid? TargetTransactionID { get; set; }
Property Value
Extension Methods