Beispiel #1
0
 public ChiZodiacDb(string fileName)
 {
     // only works with absolute paths
     this.dbUrl = Path.GetFullPath (fileName);
     // make a connection
     this.conn = new SqliteConnection ("DbLinqProvider=Sqlite; Data Source=" + dbUrl);
     // get the data context
     this.dataCon = new ChiZodiacData (conn);
 }
Beispiel #2
0
 public ChiZodiacDb(string fileName)
 {
     // only works with absolute paths
     this.dbUrl = Path.GetFullPath(fileName);
     // make a connection
     this.conn = new SqliteConnection("DbLinqProvider=Sqlite; Data Source=" + dbUrl);
     // get the data context
     this.dataCon = new ChiZodiacData(conn);
 }