Search Results for

    Show / Hide Table of Contents

    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
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(Object)
    ICloneableAsync.CopyFromSource(Object)
    ICanTrackProperties.HasTrackedPropertyChanged(String)
    ICanTrackProperties.OriginalTrackedPropertyValue(String)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(String)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    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

    [Key] Links to ICompany. The parent company the specified IPerson is an employee of

    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

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.