Interface ISetEntity
The system entity for a set entity, which indicates which IObjectEntity belongs to which IEntitySet
See https://help.lemonedge.com/help/financial-services-engine/entities/company-structures/set-entities-view.html for more information
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.LegalEntity
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.SetEntity, "dbo.LT_SetEntities", "SetEntity", IsStandingDataEntity = true, CustomToString = true)]
[DefaultEntityIcon(ImageType.CompanyOrg)]
public interface ISetEntity : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityID
[Key] Links to IObjectEntity. The entity that belongs within this entity set
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.One, "Entity", "Entity Sets", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[RequiredNoDefaultIDValidation]
Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
EntitySetID
[Key] Links to IEntitySet. The entity set this object entity belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.EntitySet, "ID", SingleJoinType.One, "Entity Set", "Entities", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
Guid EntitySetID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
OwnerID
[Key] Links to IObjectEntity. The optional entity that owns this entity. Used with fund classes where the issuing entity can be recorded as the owner
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.ObjectEntity, "ID", SingleJoinType.ZeroToOne, "Entity", "Entity Sets", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
Guid? OwnerID { get; set; }
Property Value
Type | Description |
---|---|
Guid? |