Easy refresh/reload method?

Automate and integrate using the SQL comparison API

Moderator: Chris Auckland

Easy refresh/reload method?

Postby yzguy » Mon May 24, 2010 8:50 pm

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?
yzguy
 
Posts: 18
Joined: Tue Feb 09, 2010 2:05 am

Postby Brian Donahue » Wed May 26, 2010 9:43 am

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.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby yzguy » Wed May 26, 2010 4:02 pm

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.
yzguy
 
Posts: 18
Joined: Tue Feb 09, 2010 2:05 am

Postby Brian Donahue » Wed May 26, 2010 4:31 pm

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.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Comparison SDK Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest