Exemplo n.º 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);
 }
Exemplo n.º 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);
 }