/// <summary> /// Updates the Photo table by the primary key, if the Photo is dirty then an update will occur /// </summary> /// <param name="photo">a populated photo</param> /// <returns>update count</returns> public int UpdateMetaData(Photo photo) { int updateCount = photoDb.UpdateMetaData(photo, "Photo_UpdateMetaData"); return(updateCount); }