Interface ITransactionAssociation
The system entity for describing the allocation of a transaction internally.
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.TransactionAssociations, "dbo.LT_TransactionAssociations", "TransactionAssociation", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.Associations)]
[EntityIndex(Name = "Transaction", ColumnNames = new string[] { "TransactionID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
[EntityIndex(Name = "TranAssocEntity", ColumnNames = new string[] { "EntityID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending }, IsClustered = false, IsUnique = false)]
public interface ITransactionAssociation : ITransactionValueDetail, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Description
User friendly description of this transaction association
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("Description of this transaction association amount.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityID
The globally unique id of the entity (of type EntityTypeID) this transaction is associated with
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityDescription("The optional entity id this transaction value amount is assigned against.")]
[EntityLinkToAnyParentRelationship("EntityTypeID", SingleJoinType.ZeroToOne, "Associated Items", false, new Type[] { typeof(ISQLTypeWrapper), typeof(IDatasetQueryableItem), typeof(ISQLFunction), typeof(IVennSetQueryableItem) }, OnlyWithLabels = true)]
[EntityKeyProperty]
Guid? EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
EntityTypeID
The type of entity this transaction is associated with
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true, IsEntityTypeLink = true)]
[EntityDescription("The optional entity type this transaction value amount is assigned against.")]
Guid? EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |
TransactionID
[Key] Links to ITransaction. The transaction this association is allocating for.
Declaration
[EntityDescription("The transaction this association is allocating for.")]
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Transaction, "ID", SingleJoinType.One, "Transaction", "Transaction Value Associations", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[RequiredNoDefaultIDValidation]
Guid TransactionID { get; set; }
Property Value
Type | Description |
---|---|
Guid |