This website is intended as archive for old content and forums.
Please visit http://opf3.codeplex.com for the project's new website.

Pervasive SQL

Pervasive SQL web site

Info

Class name: PervasiveSqlStorage
Namespace: Chili.Opf3.Storages.PervasiveSql
Current version: 1.0.6.

How to use it

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);

How to make the storage work with autoincrement values

Just specify the column that is autoincrement as Identitiy column of the database's table. That's it! The Opf3 storage class gets automatically the value for that column from the database and sets it in the persistent's property.

Download

This storage is part of the Opf3 Framework package (supported out of the box). Download the Opf3 Framework demo version to try it.

If you have any questions or need further assistance, please contact us.