public void RemoveLibraryLocation(IDBClient db, AudioLibraryLocation toDelete) { var db4oClient = db as Db4oClient; if (db4oClient != null) db4oClient.Client.Delete(toDelete); }
public void UpdateAddLibraryLocation(IDBClient db, AudioLibraryLocation location) { var db4oClient = db as Db4oClient; // add the location to the database if (db4oClient != null) db4oClient.Client.Store(location); }