TaskDatabase uses ADO.NET to create the [Items] table and create,read,update,delete data
Пример #1
0
        protected TodoItemRepositoryADO () {
            // set the db location
            dbLocation = DatabaseFilePath;

            // instantiate the database	
            db = new TodoDatabase (dbLocation);
        }
        protected FavoritosItemRepositoryADO()
        {
            // set the db location
            dbLocation = DatabaseFilePath;

            // instantiate the database
            db = new TodoDatabase(dbLocation);
        }
 protected TodoItemRepositoryADO()
 {
     // instantiate the database
     db = new TodoDatabase();
 }
Пример #4
0
 protected TodoItemRepositoryADO ()
 {
     // instantiate the database	
     db = new TodoDatabase();
 }