locked
LocalDataCache designer and XML file RRS feed

  • Question

  • Hello,

    I´ve a short question. I created a LocalDataCache with the designer.
    The designer created a LocalDataCache.sync File (XML) and a LocalDataCache.Designer.cs (C# and SQL Code).

    When I want to change some lines in the SQL-Statements... do I only have to change these lines in the LocalDataCache.Designer.cs?
    or also in the XML of LocalDataCache.sync.

    When is the LocalDataCache.sync file needed?



    Regards,

    Martin
    • Moved by Hengzhe Li Friday, April 22, 2011 3:22 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Tuesday, April 28, 2009 3:58 PM

Answers


  • Hi Martin,

    This MSDN article has what steps to do what you are looking for. In short you need to rt-click on the .sync file in VS and select view code. This creates a .cs file which you can update by adding partial classes to update the commands.

    http://msdn.microsoft.com/en-us/library/cc761546.aspx

    Looks at the section "To remove tracking columns from synchronization commands "

    thanks
    Sudarshan


    Development Lead , Microsoft
    Wednesday, April 29, 2009 7:37 PM
    Moderator