コード例 #1
0
        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);
        }
コード例 #2
0
        public void RemoveLibraryLocation(IDBClient db, VideoLibraryLocation toDelete)
        {
            var db4oClient = db as Db4oClient;

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