protected TaskRepository() { // set the db location dbLocation = DatabaseFilePath; // instantiate the database db = new Tasky.DL.TaskDatabase(dbLocation); }
protected TaskManager() { // set the db location //_dbLocation = Path.Combine (NSBundle.MainBundle.BundlePath, "Library/TaskDB.db3"); _dbLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "TaskDB.db3"); // instantiate the database this._db = new Tasky.DL.TaskDatabase(_dbLocation); }
protected TaskManager() { // set the db location //_dbLocation = Path.Combine (NSBundle.MainBundle.BundlePath, "Library/TaskDB.db3"); _dbLocation = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Personal), "TaskDB.db3"); // instantiate the database this._db = new Tasky.DL.TaskDatabase(_dbLocation); }
//protected static TaskRepository me; public TaskRepository(SQLiteConnection conn, string dbLocation) { // set the db location // dbLocation = DatabaseFilePath; // instantiate the database db = new Tasky.DL.TaskDatabase(conn, dbLocation); }
//protected static TaskRepository me; public TaskRepository(SQLiteConnection conn, string dbLocation) { db = new Tasky.DL.TaskDatabase(conn, dbLocation); }
public TaskRepository(SQLiteConnection conn, string dbLocation) { db = new Tasky.DL.TaskDatabase(conn, dbLocation); }
protected TaskRepository() { // instantiate the database db = new Tasky.DL.TaskDatabase(); }