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); }
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); }