Red Gate forums :: View topic - Easy refresh/reload method?
Return to www.red-gate.com RSS Feed Available

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

Easy refresh/reload method?

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
yzguy



Joined: 09 Feb 2010
Posts: 18

PostPosted: Mon May 24, 2010 8:50 pm    Post subject: Easy refresh/reload method? Reply with quote

once I have 2 redgate db objects, and run the difference on them, I could go make changes, then want to run the comparison again. Is there an easy way to reload or refresh the db objects I have in memory so I can run the compare again?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Wed May 26, 2010 9:43 am    Post subject: Reply with quote

Hi Mark,
The SDK does not support "partial" schema reloads, so you would be required to register the whole database again after it has been synchronized. I don't know of a way around that, unfortunately.
Back to top
View user's profile Send private message
yzguy



Joined: 09 Feb 2010
Posts: 18

PostPosted: Wed May 26, 2010 4:02 pm    Post subject: Reply with quote

I know I will have to reload the whole db, that was not the question. I was asking if there was an easy method to do that.

The problem is that there are different ways to load different db types (live, snapshot, backup, folder structure), and I was wondering if I could just call a "refresh" type function on or with the already loaded db objects, instead of interrogating the db object to figure out what type it was, and then pull the required info from it, so that I could call the appropriate load function. Since all that info is in the object already, a refresh or reload function from within the object would be possible.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Wed May 26, 2010 4:31 pm    Post subject: Reply with quote

Hi Mark,

I guess I'm trying to say that the answer to your question is, no, there is no easier way of doing it.
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