This topic applies to .NET version only
In order to use our special IsolatedStorageFileAdapter the following configuration method should be called.
In this example we will use debug message level = 1 to see what is happening in the console.
Let's try to save some objects and retrieve them. Remember, that the path in the Isolated Storage is not the path on the file system. For simplicity you can specify the database file with only the file name. For more information about creating directory structure in the Isolated Storage, please refer to the appropriate documentation.
Run the following examples and check the output in the
console to see how the IsolatedStorageFileAdapter
works:
There is one more thing to remember: delete file operation does not belong to db4o API, so if we need to delete the database from within the application we will need to use Isolated Storage functions: