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