[sqlite] Using |DataDirectory| in connection string (.NET with System.Data.SQLite)

2015-09-04 Thread Lee Gray
ite] 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 "DataDire

[sqlite] Using |DataDirectory| in connection string (.NET with System.Data.SQLite)

2015-09-04 Thread Joe Mistachkin
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 show

[sqlite] Using |DataDirectory| in connection string (.NET with System.Data.SQLite)

2015-09-03 Thread Lee Gray
Hello, I'm just starting to experiment with sqlite and System.Data.SQLite. How do they make use of the connection string |DataDirectory| macro? 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. Given a conne