/// <exception cref="System.IO.IOException"></exception>
        internal static LocalObjectContainer FreshTargetFile(DefragmentConfig config)
        {
            config.Db4oConfig().Storage.Delete(config.OrigPath());
            IConfiguration clonedDb4oConfig = config.ClonedDb4oConfig();

            clonedDb4oConfig.ReadOnly(false);
            return((LocalObjectContainer)Db4oFactory.OpenFile(clonedDb4oConfig, config.OrigPath
                                                                  ()));
        }
		/// <exception cref="System.IO.IOException"></exception>
		internal static LocalObjectContainer FreshTargetFile(DefragmentConfig config)
		{
			config.Db4oConfig().Storage.Delete(config.OrigPath());
			return (LocalObjectContainer)Db4oFactory.OpenFile(config.ClonedDb4oConfig(), config
				.OrigPath());
		}
Beispiel #3
0
 /// <exception cref="System.IO.IOException"></exception>
 internal static LocalObjectContainer FreshTargetFile(DefragmentConfig config)
 {
     config.Db4oConfig().Storage.Delete(config.OrigPath());
     return((LocalObjectContainer)Db4oFactory.OpenFile(config.ClonedDb4oConfig(), config
                                                       .OrigPath()));
 }
		/// <exception cref="System.IO.IOException"></exception>
		internal static LocalObjectContainer FreshTargetFile(DefragmentConfig config)
		{
			config.Db4oConfig().Storage.Delete(config.OrigPath());
			IConfiguration clonedDb4oConfig = config.ClonedDb4oConfig();
			clonedDb4oConfig.ReadOnly(false);
			return (LocalObjectContainer)Db4oFactory.OpenFile(clonedDb4oConfig, config.OrigPath
				());
		}