public void UpdateAddLibraryLocation(IDBClient db, VideoLibraryLocation location)
        {
            var db4oClient = db as Db4oClient;

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

            if (db4oClient != null) db4oClient.Client.Delete(toDelete);
        }