OK I need some help with the last part of Chapter 6, the roles don't seem to return properly, and when on the roles page making any changes/updates I get a constraint issue, I can't delete either, same problem.
I am able to add roles with a user, assign to that role but if I don't add a user the role won't allow me to added one. Same problem as above.
The Data in the Sql database gets update when adding or removing uses, it's just when roles come in the picture.
Thanks for any help on this


so close, I do have an idea that the problem might be how the files are updated or deleted and it might needs to override these methods.
The capability.ID seem to getting updated differnt that the other methods.
I would expect a ENTCapabiltyId property, like the ENTRoleId property, just not sure when I tried this I was unable to add roles so ther might be something else.