views:

59

answers:

0

I have design windows application that auto-generate menu items and authentication from database. First time authentication has only one property, so I decide to design to persist authentication in it Tag property.

However this property growth to 3 properties, so I want to know is it good to still persist authority in Tag property or create a public property that allow user to get authority by themselves?

P.S. Currently I have created a class to store data before set it to Tag property for each menu item 'cos I need to persist another data, such as class name, assembly name and so on.