예제 #1
0
 public _IRunnable_76(IoAdaptedObjectContainer _enclosing, IStorage targetStorage,
                      string path)
 {
     this._enclosing    = _enclosing;
     this.targetStorage = targetStorage;
     this.path          = path;
 }
예제 #2
0
		/// <exception cref="Db4objects.Db4o.Ext.OldFormatException"></exception>
		public static IEmbeddedObjectContainer OpenObjectContainer(IEmbeddedConfiguration
			 config, string databaseFileName)
		{
			IConfiguration legacyConfig = Db4oLegacyConfigurationBridge.AsLegacy(config);
			Config4Impl.AssertIsNotTainted(legacyConfig);
			EmitDebugInfo();
			IEmbeddedObjectContainer oc = new IoAdaptedObjectContainer(legacyConfig, databaseFileName
				);
			((EmbeddedConfigurationImpl)config).ApplyConfigurationItems(oc);
			Db4objects.Db4o.Internal.Messages.LogMsg(legacyConfig, 5, databaseFileName);
			return oc;
		}
        /// <exception cref="Db4objects.Db4o.Ext.OldFormatException"></exception>
        public static IEmbeddedObjectContainer OpenObjectContainer(IEmbeddedConfiguration
                                                                   config, string databaseFileName)
        {
            IConfiguration legacyConfig = Db4oLegacyConfigurationBridge.AsLegacy(config);

            Config4Impl.AssertIsNotTainted(legacyConfig);
            EmitDebugInfo();
            IEmbeddedObjectContainer oc = new IoAdaptedObjectContainer(legacyConfig, databaseFileName
                                                                       );

            ((EmbeddedConfigurationImpl)config).ApplyConfigurationItems(oc);
            Db4objects.Db4o.Internal.Messages.LogMsg(legacyConfig, 5, databaseFileName);
            return(oc);
        }
			public _IRunnable_76(IoAdaptedObjectContainer _enclosing, IStorage targetStorage, 
				string path)
			{
				this._enclosing = _enclosing;
				this.targetStorage = targetStorage;
				this.path = path;
			}
			public _IVisitor4_60(IoAdaptedObjectContainer file)
			{
				this.file = file;
			}