This forum is not used anymore. Please ask new questions to Stack Overflow: https://stackoverflow.com/questions/tag ... ort=newest (use aspnetboilerplate tag).
By gsarmiento
#20123 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?

Code: Select all 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)
        {

        }
    }