Class BlendingTransaction
Inheritance
BlendingTransaction
Assembly: LemonEdge.API.Entities.FinancialServices.Auto.dll
Syntax
[DataContract]
public class BlendingTransaction : BaseEntityWithPermissions, IBlendingTransaction, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IBlendingTransaction>
Constructors
BlendingTransaction()
Declaration
public BlendingTransaction()
Properties
Algorithm
The Algorithm to use for processing this Blending Transaction configuration.
Algorithms inherit LemonEdge.API.Processors.Transactional.BlendTransactionProcessorExtender
Declaration
[Required]
[StringLength(500)]
public string Algorithm { get; set; }
Property Value
Description
A user friendly description for this blending transaction
Declaration
[StringLength(2000)]
public string Description { get; set; }
Property Value
Enabled
Indicates if this Blending Transaction configuration can be used to process a Blended Transaction.
Declaration
public bool Enabled { get; set; }
Property Value
HasStartDate
Indicates that a Blended Transaction will require a Start Date value as well for this algorithm to run
Declaration
public bool HasStartDate { get; set; }
Property Value
Name
[Key] The unique user friendly name of this Blending Transaction
Declaration
[Unique]
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
RepeatDatesEvery
If using a start date the algorithm will run from the Start to End date.
If you select to Repeat then it will repeat start/end dates starting from the start date up to the end date by
the repeat interval and how often.
For instance if repeating every month a start/end date of 1 Jan 2020 to 31 Mar 2020 would effectively run the
algorithm 3 times, one for each date set of 1 Jan 202 - 31 Jan 2020, 1 Feb 2020 - 28 Feb 2020, and 1 Mar 2020 - 31
Mar 2020.
Declaration
[Required]
[EnumDataType(typeof(BlendingTranRepeat))]
public BlendingTranRepeat RepeatDatesEvery { get; set; }
Property Value
RepeatDatesEveryInterval
Indicates when to repeat dates. If repeat dates it set to months, and this holds 2, then it would be every 2
months.
Declaration
[Required]
public short RepeatDatesEveryInterval { get; set; }
Property Value
Declaration
[NotMapped]
public string RepeatDatesEvery_Tooltip { get; set; }
Property Value
Rounding
The default rounding level to use when applying this algorithm
Declaration
[Required]
[EnumDataType(typeof(RoundingLevel))]
public RoundingLevel Rounding { get; set; }
Property Value
Declaration
[NotMapped]
public string Rounding_Tooltip { get; set; }
Property Value
SourceAppliesToInstrumentSetTypeID
Links to IInstrumentSetType. If the source is Instruments, then this filters the allowable types of
Instrument Sets the user can select to just these that match this Instrument Set Type. If left blank then they can
select any Instrument Set.
Declaration
public Guid? SourceAppliesToInstrumentSetTypeID { get; set; }
Property Value
SourceAppliesToInstrumentSetTypeID_Label
Declaration
public string SourceAppliesToInstrumentSetTypeID_Label { get; set; }
Property Value
SourceAppliesToInstrumentSetTypeID_Label_Silent
Declaration
[NotMapped]
public string SourceAppliesToInstrumentSetTypeID_Label_Silent { get; set; }
Property Value
SourceAppliesToSQLWrapperID
Links to ISQLWrapper. If the source is SQLWrapper, then this specifies the SQL Wrapper to use when
running the blenged transaction.
Declaration
public Guid? SourceAppliesToSQLWrapperID { get; set; }
Property Value
SourceAppliesToSQLWrapperID_Label
Declaration
public string SourceAppliesToSQLWrapperID_Label { get; set; }
Property Value
SourceAppliesToSQLWrapperID_Label_Silent
Declaration
[NotMapped]
public string SourceAppliesToSQLWrapperID_Label_Silent { get; set; }
Property Value
SourceAppliesToSQLWrapperParam
The parameters for running the sql wrapper source
Declaration
public byte[] SourceAppliesToSQLWrapperParam { get; set; }
Property Value
SourceType
The type of data that is a source for the algorithm: Instruments or Transaction
Declaration
[EnumDataType(typeof(BlendingTranSourceType))]
public BlendingTranSourceType SourceType { get; set; }
Property Value
Declaration
[NotMapped]
public string SourceType_Tooltip { get; set; }
Property Value
TargetAppliesToInstrumentSetTypeID
Links to IInstrumentSetType. If the target is Instruments, then this filters the allowable types of
Instrument Sets the user can select to just these that match this Instrument Set Type. If left blank then they can
select any Instrument Set.
Declaration
public Guid? TargetAppliesToInstrumentSetTypeID { get; set; }
Property Value
TargetAppliesToInstrumentSetTypeID_Label
Declaration
public string TargetAppliesToInstrumentSetTypeID_Label { get; set; }
Property Value
TargetAppliesToInstrumentSetTypeID_Label_Silent
Declaration
[NotMapped]
public string TargetAppliesToInstrumentSetTypeID_Label_Silent { get; set; }
Property Value
TargetType
The type of data the system uses as a Target to create the new transactions against: Instruments, Source
Instruments, Allocate From Rule, Replicate From Rule, Path, or Path Inverted
Declaration
[EnumDataType(typeof(BlendingTranTargetType))]
public BlendingTranTargetType TargetType { get; set; }
Property Value
Declaration
[NotMapped]
public string TargetType_Tooltip { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IBlendingTransaction)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IBlendingTransaction source)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods