locked
Suggestion: SqlSyncScopeProvisioning.Apply needs one more parameter (or property) RRS feed

  • General discussion

  • After some testing i've come to the conclusion that SqlSyncScopeProvisioning needs an additional parameter along with some more functionality !


    for a developer its extremely unfriendly that provisioning a database is a ONE TIME ONLY  procedure.
    once you've 'Apply(conn)'ed the database, you can't edit the Schema.

    THEREFORE:
    please add the parameter to Apply : SqlSyncScopeProvisioning.Apply(SqlConnection conn, bool reset) 

    reset indicates that ALL METADATA and Triggers are removed from the database, relating to the selected tables, BEFORE attaching them again.
    thereby enabling development of the database + re-applying the SyncProvision 

    OR

    add the parameter as a property : SqlSyncScopeProvisioning.ResetBeforeApply (boolean)

    or - make a Method/Function that removes all sync-stuff from a database... to clean it from MSF...

    would make life A LOT EASIER !!!!


    thanks
    Thursday, January 14, 2010 2:35 PM

All replies

  • Hi -

    You make good points here and we will take it into consideration for our next release.

    Thanks
    Deepa


    Deepa ( Microsoft Sync Framework)
    Thursday, January 14, 2010 7:33 PM
    Answerer