Red Gate forums :: View topic - SQL Compare SDK removing users from database
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK 10
SQL Comparison SDK 10 forum

SQL Compare SDK removing users from database

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
chris.brown



Joined: 20 May 2013
Posts: 2

PostPosted: Mon May 20, 2013 3:02 pm    Post subject: SQL Compare SDK removing users from database Reply with quote

When I compare my database with a database creation script created from a VS 2010 data-tier application project, the users are removed my database.

In the dta project, I have defined a database role, but there are no users as these are created within the installer in which SQL Compare SDK is implemented.

In my code I have set the options IgnoreUsers and IgnoreUserProperties but I can't stop the users being removed.

Has anyone come across this problem and/or know any solution?

Thanks.
Back to top
View user's profile Send private message
chris.brown



Joined: 20 May 2013
Posts: 2

PostPosted: Tue May 21, 2013 4:08 pm    Post subject: Solution Reply with quote

The solution to this issue is to loop through the objects in the database, ensure you set all the users .Selected = false then the SQL compare will completely ignore them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group