G
Guest
Does anybody have a sample I could see of a simple way to access Pervasive in Visual Studio?
in Visual Studio?M K said:Does anybody have a sample I could see of a simple way to access Pervasive
William Ryan eMVP said:If your goal is to access a Pervasive DB with ADO.NET you can definitely do
it.
You can access it through either OleDb or Odbc.
http://www.connectionstrings.com/ has an example of using both under the
'Pervasive' section.
You can also install the drivers and then just set up a DSN.
However, from the wording of your question, I think you may be asking how to
get a pervasive DB to appear in visual Studio's server explorer.
I believe that if you aren't using Standard Edition of VS that you can do
it, but I haven't done it personally. To the best of my knowledge, the ODBC
for Pervasive drivers aren't installed on a machine by default but once you
load them you can definitely set up a DSN and you can definitely access a
pervasive db (I've done this personally so I know it's doable) through
ADO.NET. And from the way server explorer works I'd be shocked if you
couldn't add a pervasive DB to it once you have the drivers/dsn installed.
Does anybody have a sample I could see of a simple way to access
Pervasive in Visual Studio?
You can use OleDb of course, or wait for their .NET provider which
goes in beta soon.
Hi Frans,
do you have any more information about the pervasive .Net provider, like
who develops it?
is it open source or actually a commercial project?
can I download the beta?
any plans to write an application block for this. I have read about
application blocks being made for the firebird database.