Interface ICompanyOwnership
The system entity for a COmpany Ownership link, part of a ICompany record
See https://web.lemonedge.com/help/company-ownerships-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.CompanyOwnership, "dbo.LT_CompanyOwnership", "CompanyOwnership")]
[DefaultEntityIcon(ImageType.CompanyOrg)]
public interface ICompanyOwnership : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
ChildCompanyID
[Key] Links to ICompany. The company that is a child company of this one within the organization structure. Vice-versa those companies have this one as a parent. Reporting can be used to visualize these relationships.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Company, "ID", SingleJoinType.One, "Company", "Company", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("A child company of this parent company.")]
Guid ChildCompanyID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ParentCompanyID
[Key] Links to ICompany. The parent company this item belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Company, "ID", SingleJoinType.One, "Company", "Company", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = true)]
[EntityDescription("The parent company for this inter-company relationship.")]
Guid ParentCompanyID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |