You are here: Configuration > File Configuration > Storage > Isolated Storage For Silverlight

Isolated Storage For Silverlight

In order to support Silverlight, db4o brings a IsolatedStorage-storage. This storage uses the Silverlight Isolated Storage to store the database on the client.

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.File.Storage = new IsolatedStorageStorage();

IObjectContainer container = Db4oEmbedded.OpenFile(configuration, "database.db4o");
IOExamples.cs: use the isolated storage on silverlight
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.File.Storage = New IsolatedStorageStorage()

Dim container As IObjectContainer = Db4oEmbedded.OpenFile(configuration, "database.db4o")
IOExamples.vb: use the isolated storage on silverlight