Ejemplo n.º 1
0
 public ObjectRecursor(db4oDataStore dataStore)
 {
     _store = dataStore;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Callback called by a db4oDataStore after it closes the db4o database file.
 /// 
 /// Removes the data store from the list of active stores.
 /// </summary>
 /// <param name="dataStore"></param>
 internal void OnDataStoreClosed(db4oDataStore dataStore)
 {
     _dataStores.Remove(dataStore);
 }
Ejemplo n.º 3
0
 public db4oTypeProcessor(db4oDataStore store)
 {
     _store = store;
     _assemblyHash = new Hashtable();
 }
Ejemplo n.º 4
0
        public IDataStore Open(string fileName)
        {
            _logger.Info("LogMsg.Opening", fileName);
            db4oDataStore dataStore = new db4oDataStore(this, Db4o.openFile(fileName).ext(), fileName, _logFactory);

            //Keep track of this data store in the list of active stores
            _dataStores.Add(dataStore);

            return dataStore;
        }