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