logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: DeleteRole in RoleProvider: msg#00201

Subject: Re: DeleteRole in RoleProvider
Le 28/11/2006, Jiri Cincura a supposé :
> Hi,
>
> in DeleteRole we're deleting roles from classic two tables (roles and 
> userinroles). But what about creating FK for roles <> userinroles with 
> cascade?
>
> This will help with 1) DB integrity when somebody edits it by hand and 2) 
> save one call (the second delete) to DB.
>
> What do you think?

Yes is a good idea, if you want i add this into the script ?



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>