Example #1
0
 /// <summary>
 /// Returns a new TVProgram instance which contains the same values
 /// </summary>
 /// <returns>new TVProgram</returns>
 public TVProgram Clone()
 {
   TVProgram prog = new TVProgram();
   prog.ID = _iID;
   prog._strChannel = _strChannel;
   prog._strGenre = _strGenre;
   prog._strTitle = _strTitle;
   prog._strEpisode = _strEpisode;
   prog._strDescription = _strDescription;
   prog._strRepeat = _strRepeat;
   prog._iStartTime = _iStartTime;
   prog._iEndTime = _iEndTime;
   prog._strDate = _strDate;
   prog._strSeriesNum = _strSeriesNum;
   prog._strEpisodeNum = _strEpisodeNum;
   prog._strEpisodePart = _strEpisodePart;
   prog._strStarRating = _strStarRating;
   prog._strClassification = _strClassification;
   prog._strDuration = _strDuration;
   prog._strTimeFromNow = _strTimeFromNow;
   prog._strEpisodeFullDetails = _strEpisodeFullDetails;
   return prog;
 }
        /// <summary>
        /// Returns a new TVProgram instance which contains the same values
        /// </summary>
        /// <returns>new TVProgram</returns>
        public TVProgram Clone()
        {
            TVProgram prog = new TVProgram();

            prog.ID                     = _iID;
            prog._strChannel            = _strChannel;
            prog._strGenre              = _strGenre;
            prog._strTitle              = _strTitle;
            prog._strEpisode            = _strEpisode;
            prog._strDescription        = _strDescription;
            prog._strRepeat             = _strRepeat;
            prog._iStartTime            = _iStartTime;
            prog._iEndTime              = _iEndTime;
            prog._strDate               = _strDate;
            prog._strSeriesNum          = _strSeriesNum;
            prog._strEpisodeNum         = _strEpisodeNum;
            prog._strEpisodePart        = _strEpisodePart;
            prog._strStarRating         = _strStarRating;
            prog._strClassification     = _strClassification;
            prog._strDuration           = _strDuration;
            prog._strTimeFromNow        = _strTimeFromNow;
            prog._strEpisodeFullDetails = _strEpisodeFullDetails;
            return(prog);
        }