2010/2/26 Γιάννης Μπουρκέλης <[email protected]>:
> Hello,
> I am trying to connect to an embedded database using the |DataDirectory|
> keyword but without success.
Depends on what you expect or in what environment your application is
running respectively. The |DataDirectory| is defined as
AppDomain.CurrentDomain.GetData("DataDirectory"). So don't interchange
it with current working directory or directory where executable is
placed - these can be different and you can retrieve both in runtime
as well. And you can push the value there using AppDomain.SetData. If
the DataDirectory isn't set (by you or the surrounding environment
like ASP.NET) the empty string is used.
> Is the |DataDirectory| keyword supported in Net Firebird provider v2.5.1?
Yes. And I would also recommend to upgrade to 2.5.2.
--
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.cincura.net/ | http://www.ID3renamer.com
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider