Пример #1
0
			public _IRunnable_49(SaveAsStorage _enclosing, SaveAsStorage.SaveAsBin saveAsBin, 
				string oldUri, string newUri, BinConfiguration oldConfiguration)
			{
				this._enclosing = _enclosing;
				this.saveAsBin = saveAsBin;
				this.oldUri = oldUri;
				this.newUri = newUri;
				this.oldConfiguration = oldConfiguration;
			}
Пример #2
0
 public _IRunnable_49(SaveAsStorage _enclosing, SaveAsStorage.SaveAsBin saveAsBin,
                      string oldUri, string newUri, BinConfiguration oldConfiguration)
 {
     this._enclosing       = _enclosing;
     this.saveAsBin        = saveAsBin;
     this.oldUri           = oldUri;
     this.newUri           = newUri;
     this.oldConfiguration = oldConfiguration;
 }
Пример #3
0
			internal BinRecord(BinConfiguration binConfiguration, SaveAsStorage.SaveAsBin bin
				)
			{
				_binConfiguration = binConfiguration;
				_bin = bin;
			}
Пример #4
0
		private void ReopenOldConfiguration(SaveAsStorage.SaveAsBin saveAsBin, BinConfiguration
			 config, string newUri, Exception e)
		{
			IBin safeBin = _storage.Open(config);
			saveAsBin.DelegateTo(safeBin);
			throw new Db4oException("Copying to " + newUri + " failed. Reopened " + config.Uri
				(), e);
		}