/// <summary> /// Increment the count of the number of times the current photo has been viewed. /// </summary> public void IncrementViewed() { viewed++; PhotoDB db = new PhotoDB(token.DBConnection); db.IncrementViewedCount(this); }