This short example demonstrates how to use the storage in your code.
| C# VB.NET |
// Create the instance of the VistaDB storage. VistaDBStorage storage = new VistaDBStorage("C:\\", "database.db"); // Set it as storage of the ObjectContext. ObjectContext context = new ObjectContext(storage); ' Create the instance of the VistaDB storage. Dim storage As New VistaDBStorage("C:\", "database.db") ' Set it as storage of the ObjectContext. Dim context As New ObjectContext(storage) |