Great, thanks! -----Original Message----- From: sqlite-users-bounces at mailinglists.sqlite.org [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Joe Mistachkin Sent: Friday, September 04, 2015 2:06 PM To: 'General Discussion of SQLite Database' <sqlite-users at mailinglists.sqlite.org> Subject: Re: [sqlite] Using |DataDirectory| in connection string (.NET with System.Data.SQLite)
Lee Gray wrote: > > How do they make use of the connection string |DataDirectory| macro? > It is expanded when the connection is opened. It will either be replaced with the per-AppDomain "DataDirectory" datum or the base directory of the AppDomain. > > I've found lots of references online showing that it is indeed used, > but I haven't found how to extract the file path from it at runtime. > Currently, there is no easy way to do that using only publically accessible parts of System.Data.SQLite; however, this limitation will be addressed in the next release. -- Joe Mistachkin _______________________________________________ sqlite-users mailing list sqlite-users at mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users