Beispiel #1
0
		public static void CreateFile(string fileName, IEmbeddedConfiguration config)
		{
			IObjectContainer db = Db4oEmbedded.OpenFile(config, fileName);
			SlotDefragmentFixture.Data data = null;
			for (int value = Value - 1; value <= Value + 1; value++)
			{
				data = new SlotDefragmentFixture.Data(value, data);
				db.Store(data);
			}
			db.Close();
		}
Beispiel #2
0
        public static void CreateFile(string fileName, IEmbeddedConfiguration config)
        {
            IObjectContainer db = Db4oEmbedded.OpenFile(config, fileName);

            SlotDefragmentFixture.Data data = null;
            for (int value = Value - 1; value <= Value + 1; value++)
            {
                data = new SlotDefragmentFixture.Data(value, data);
                db.Store(data);
            }
            db.Close();
        }
Beispiel #3
0
 public Data(int id, SlotDefragmentFixture.Data next)
 {
     _id      = id;
     _wrapper = id;
     _next    = next;
 }
Beispiel #4
0
			public Data(int id, SlotDefragmentFixture.Data next)
			{
				_id = id;
				_wrapper = id;
				_next = next;
			}