示例#1
0
        protected TaskRepository()
        {
            // set the db location
            dbLocation = DatabaseFilePath;

            // instantiate the database
            db = new Tasky.DL.TaskDatabase(dbLocation);
        }
示例#2
0
		protected TaskRepository()
		{
			// set the db location
			dbLocation = DatabaseFilePath;
			
			// instantiate the database	
			db = new Tasky.DL.TaskDatabase(dbLocation);
		}
示例#3
0
 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);
 }
示例#4
0
		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)
		{
			// 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);
		}
示例#9
0
 protected TaskRepository()
 {
     // instantiate the database
     db = new Tasky.DL.TaskDatabase();
 }