Interface ITransactionType
The system entity for a transaction type, which is a grouping category for ITransactionTypeValue
See https://web.lemonedge.com/help/transaction-types/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.TransactionType, "dbo.LT_TransactionTypes", "TransactionType", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "transaction-types")]
[DefaultEntityIcon(ImageType.TransactionValueType)]
[EntityLinkToAnyParentRelationshipModifier(EntityID.SQLWrapper, "OwnerEntityID", "ID", ExcludeFromRelationship = true)]
public interface ITransactionType : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier
Properties
Description
A user friendly description of this Transaction Type
Declaration
[EntityProperty(SQLType.NVarChar, (short)2000, true)]
[EntityDescription("A user friendly description of this transaction value type.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
[Key] The unique friendly name of the Transaction Type
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The unique name of this transaction type for values.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
The type of transaction values. Used to ensure transaction codes only operate against a certain type of transaction values.
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The transaction type this value type belong to.")]
TransactionType Type { get; set; }
Property Value
Type | Description |
---|---|
TransactionType |