Interface IEmployee
The system entity for an Employee, which defines a relationship between a ICompany and IPerson
See https://web.lemonedge.com/help/employees-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.Employee, "dbo.LT_Employees", "Employee")]
[DefaultEntityIcon(ImageType.CompanyOrg)]
public interface IEmployee : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EmployeeID
[Key] Links to IPerson. A link to a Person in the system who is employed by this Company
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Person, "ID", SingleJoinType.One, "Person", "Person", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("A child company of this parent company.")]
Guid EmployeeID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
ManagerID
Links to IPerson. The employee within this Company that this Employee reports to (if any).
Declaration
[EntityProperty(SQLType.UniqueIdentifier, true)]
[EntityRelationship(EntityID.Person, "ID", SingleJoinType.ZeroToOne, "Person", "Person", DeleteWithRelationship = false, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityDescription("The manager of this employee.")]
Guid? ManagerID { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ParentCompanyID
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 employee.")]
Guid ParentCompanyID { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Role
The employees role within the Company
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, true)]
[EntityDescription("The employees role.")]
string Role { get; set; }
Property Value
Type | Description |
---|---|
System.String |