Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "gsarmiento"

Hi, I've added new attributes (Description, StatusId) to Role model, but under debug mode program breaks on these two attributes when it tries to retrieve a list of Roles.

Do I have to register this attributes in some Role abstract class?

public class Role : AbpRole<User>
    {
        //Can add application specific role properties here

       public virtual string Description { get; set; }
        public virtual long StatusId { get; set; }
        
        public Role()
        {

        }

        public Role(int? tenantId, string displayName)
            : base(tenantId, displayName)
        {

        }

        public Role(int? tenantId, string name, string displayName)
            : base(tenantId, name, displayName)
        {

        }
    }
Showing 1 to 1 of 1 entries