none
Sync : How to enable Batching and define Batch size RRS feed

  • Question

  • Hello Guys,

    I want to implement offline application services for iPhone apps using sync framework.

    Could someone please let me know how to enable Batching and define Download Batch size and please mention the file name of sync framework toolkit documentation where I will change the code for enable batching and set batch size.

    Thanks,

    Pradipta Nilav Saha


    Pradipta Nilav Saha

    Sunday, October 7, 2012 10:45 AM

All replies

  • Hi Pradipta Nilav Saha,

    See this post, basically you just have to use this method in your svc code behind file:

    SetDownloadBatchSize

    Cheers,

    Stéphane.


    Live as if you were to die tomorrow. Learn as if you were to live forever.


    Monday, October 8, 2012 2:00 PM
  • espero te sirva!

                SqlSyncProvider proveedor = new SqlSyncProvider(nombreDeAmbito, conexionSql, prefijoMetadataSyncFramework, esquemaMetadataSyncFramework);
                proveedor.MemoryDataCacheSize = 1000; //KB --> los archivos de cache se guardan en BatchingDirectory (%tmp% por default)

    Tuesday, November 13, 2012 7:30 PM