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