Beispiel #1
0
        public void Process(DbSyncPipelineArgs args)
        {
            Log.Info("[DistributedDb] Pipeline ReorganizeIndexesClient Start - " + args.Server, this);
            var syncManager = new DbSyncManager();

            syncManager.Client.ReorganizeIndexes();
            args.Databases = syncManager.Client.Databases;
            Log.Info("[DistributedDb] Pipeline ReorganizeIndexesClient End - " + args.Server, this);
        }
Beispiel #2
0
        public void Process(DbSyncPipelineArgs args)
        {
            Log.Info("[DistributedDb] Pipeline ProvisionTriggerAndProcedureUpdatesClient Start - " + args.Server, this);
            var syncManager = new DbSyncManager();

            syncManager.Client.ProvisionTriggerAndProcedureUpdates();
            args.Databases = syncManager.Client.Databases;
            Log.Info("[DistributedDb] Pipeline ProvisionTriggerAndProcedureUpdatesClient End - " + args.Server, this);
        }
Beispiel #3
0
        public void Process(DbSyncPipelineArgs args)
        {
            Log.Info("[DistributedDb] Pipeline TruncateClientTables Start - " + args.Server, this);
            var syncManager = new DbSyncManager();

            syncManager.Client.TruncateClientTables();
            args.Databases = syncManager.Client.Databases;
            Log.Info("[DistributedDb] Pipeline TruncateClientTables End - " + args.Server, this);
        }
Beispiel #4
0
        public void Process(DbSyncPipelineArgs args)
        {
            Log.Info("[DistributedDb] Pipeline DeprovisionServer Start - " + args.Server, this);
            var syncManager = new DbSyncManager();

            syncManager.Server.Deprovision();
            args.Databases = syncManager.Server.Databases;
            Log.Info("[DistributedDb] Pipeline DeprovisionServer End - " + args.Server, this);
        }
Beispiel #5
0
        public void Process(DbSyncPipelineArgs args)
        {
            Log.Info("[DistributedDb] Pipeline Synchronize Start - " + args.Server, this);
            var syncManager = new DbSyncManager();

            args.Statistics = syncManager.Client.Synchronize();
            args.Databases  = syncManager.Client.Databases;
            Log.Info("[DistributedDb] Pipeline Synchronize End - " + args.Server, this);
        }