Interface IInstrumentSetItem
The system entity for an instrument set item, which belongs to an instrument set definition
See https://web.lemonedge.com/help/instrument-set-items-view/ 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.InstrumentSetItem, "dbo.LT_InstrumentSetItems", "InstrumentSetItem", IsStandingDataEntity = false)]
[DefaultEntityIcon(ImageType.Filter)]
public interface IInstrumentSetItem : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CurrencyID
[Key] Links to ICurrency. Matches on any Instrument with this specified Currency
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Currency, "ID", SingleJoinType.ZeroToOne, "Currency", "InstrumentSetItem", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("Indicates only instruments with this currency will match.")]
Guid? CurrencyID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Exclude
Indicates any matching Instruments should be excluded from the resulting set of matching Instruments for this Instrument Set
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if the instrument from this filter should be excluded from the set overall.")]
[Required]
bool Exclude { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InstrumentID
[Key] Links to IInstrument. Specifically matches on an individual Instrument
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Instrument, "ID", SingleJoinType.ZeroToOne, "IInstrument", "InstrumentSetItem", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("Indicates this specified instrument will match.")]
Guid? InstrumentID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
InstrumentSetID
[Key] Links to IInstrumentSet. The parent instrument set this item is a member of
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.InstrumentSet, "ID", SingleJoinType.One, "IInstrumentSet", "InstrumentSetItem", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = true)]
[EntityDescription("The parent set.")]
Guid InstrumentSetID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
OwningEntityID
[Key] Links to IObjectEntity. Matches on any Instrument with this specified Owning Entity
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.ZeroToOne, "IObjectEntity", "InstrumentSetItem", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("Indicates only instruments with this owning entity will match.")]
Guid? OwningEntityID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |