Comments
2 comments
-
Hi @brij_singh555,
You should be able to load a SQL Compare snapshot into a C# Database object like below and the rest should be the same as comparing database to database really.using (Database snapshot = new Database()) { // Load the database schema previously stored as the snapshot var snapshotFile = Path.Combine(Directory.GetCurrentDirectory(), "mysnapshot.snp"); snapshot.LoadFromDisk(snapshotFile); }
Hope this answers your question but do let us know if you have more questions -
Thank you Tugberk!! that's what i was looking for
Add comment
Please sign in to leave a comment.
is there any sample where we can compare snapshot to database?