示例#1
0
 /// <exception cref="NumberFormatException"></exception>
 private Db4objects.Db4o.IO.IoAdapter DelayingIoAdapter(string dbFileName)
 {
     Db4objects.Db4o.IO.IoAdapter rafFactory = new RandomAccessFileAdapter();
     Db4objects.Db4o.IO.IoAdapter delFactory = new Db4objects.Db4o.Bench.Delaying.DelayingIoAdapter
                                                   (rafFactory, _delays);
     return(delFactory.Open(dbFileName, false, 0, false));
 }
示例#2
0
		/// <exception cref="NumberFormatException"></exception>
		private Db4objects.Db4o.IO.IoAdapter DelayingIoAdapter(string dbFileName)
		{
			Db4objects.Db4o.IO.IoAdapter rafFactory = new RandomAccessFileAdapter();
			Db4objects.Db4o.IO.IoAdapter delFactory = new Db4objects.Db4o.Bench.Delaying.DelayingIoAdapter
				(rafFactory, _delays);
			return delFactory.Open(dbFileName, false, 0, false);
		}