コード例 #1
0
        public void Migrate(int tenant, StorageSettings storageSettings)
        {
            var storSettings = new StorSettings {
                ID = storageSettings.ID.ToString(), Module = storageSettings.Module
            };

            CacheMigrationNotify.Publish(new MigrationCache
            {
                TenantId     = tenant,
                StorSettings = storSettings
            },
                                         CacheNotifyAction.Insert);
        }
コード例 #2
0
 public void StopMigrate()
 {
     CacheMigrationNotify.Publish(new MigrationCache(), CacheNotifyAction.InsertOrUpdate);
 }