Kowalsky wrote:
I see. Now, would it be possible to create equivalent database in SQL Server, create LLBL stuff, and than do some search and replace to make it use Pervasive database and Pervasive .net provider instead. That way, there'd be no need to dig into the meta data. Of course, assuming that nothing specific to Pervasive is used.
The DQE for Sqlserver has to be adjusted to work with the pervasive .NET provider as well, creating PervasiveCommand etc. objects, instead of teh SqlClient objects. The SqlServer DQE sourcecode is in the sourcecode folder in the llblgen pro installation folder. It's pretty straightforward.
In the generated code, you have to alter the SqlDbType enum specifications for field persistence info (selfservicing: EntityFieldFactory.cs/vb, Adapter: persistenceinfofactory.cs/vb) to meet the pervasive types.