Exemplo n.º 1
0
        public void InterlockByModifiedTime()
        {
            //last sync time set up
            DateTime dtLastSyncTime = DateTime.Now.AddDays(-3);

            try
            {
                IPublishProvider iProvider = attachProvider();

                iProvider.BatchProcessLog();

                iProvider.BatchSync();
            }
            catch (Exception ex)
            {
                //exception process
            }
        }