Note that there are some explanatory texts on larger screens.

plurals
  1. POSynchronizing Entire Databases using Microsoft Sync Framework 2.1
    primarykey
    data
    text
    <p>I need the ability to sync multiple remote databases, upload and download, with my main database.</p> <p>However, the problem lies in the fact that I need to sync the entire database, and the database schema is going to be being updated constantly, and I didn't see any way to code it to grab the entire database schema without adding each individual table to the <code>SyncScope</code>. </p> <p>This is problematic as that scope will always be changing. I solved the initial problem of removing the existing scope, and adding a new one, but I still cannot find any simple solutions, without querying system tables, and parsing the results, and passing those results (for 150+) tables back to my <code>SyncScope</code>.</p> <p>The reasons I originally looked at Sync Framework are:</p> <ol> <li>I need to be able to manage the direction of the sync (upload/download) when I do a sync programatically from C# on a button click.</li> <li>I need the ability to turn on that button, based off their network connectivity.</li> <li>There's additional tasks that need to be done on a sync download, such as changing connection strings of the mobile units, and storing information about their connection and unit in the database.</li> <li>There's additional tasks that need to be run on a sync upload, such as verifying data against customer business rules through my OR/M, archiving the data to a network storage, restarting the application, and changing connection strings again.</li> <li>Eventually, I need partial data sets, decided/chosen by the customer, at run-time, at the object level, in an OR/M framework. These objects, may coincide with one or more tables I won't know of at design-time, or may not even exist at design-time.</li> </ol> <p>Does anyone know if another framework encompasses all my requirements, or if there is a simpler way to do this in the sync framework?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload