locked
Can I get only Schema with out any data to SQLCE database RRS feed

  • Question

  • Hi,

     

    I have requirement where i need to get only the schema, with out any data to local CE database.

    I am using

    TableCreationOption.CreateNewTableOrFail;

    SyncDirection.DownloadOnly; 

     

    But its giving me the table schema along with the data.

     

    Any help please?

     

    Thanks,

    Sree

    • Moved by Max Wang_1983 Friday, April 22, 2011 10:56 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Friday, May 4, 2007 5:50 PM

All replies

  • Hi Sree,

     

    You only need to change the direction to UploadOnly instead of DownloadOnly. This way, the schema will be created but since you don't have any data to upload nothing will be uploaded. After that you can change the direction if you so choose.

     

    Thanks,

    Rafik

    Friday, May 4, 2007 6:14 PM
  • Thanks,

    I got it...working now

    Friday, May 4, 2007 6:41 PM