Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to get Creator name in Computed Column #7182


User avatar
0
huntethan89 created

Hi,

I want to reterive name of the user who has submitted code, Please tell me how to achieve this. Here is my code:

[Table("Management_Of_Change")]
    public class Entity_Management_Of_Change : FullAuditedEntity
    {

        public virtual string Originator_Job_Title { get; set; }
        public virtual string Management_Of_Change_Number { get; set; }
        public virtual DateTime? Required_Date { get; set; }
        public virtual string Location_And_Field_Names { get; set; }

        [NotMapped]
        [Computed]
        public string Status_Name => Entity_MOC_Status.Name;

       
        [NotMapped]
        [Computed]
        public string Creator_Name
        {
            get
            {

                var _result = //----- How to get creator Name here??

                return _result;


            }
        }

    }
}


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    It seems impossible to do it, it will lead to an infinite loop.