public OSSong Clone() { var song = new OSSong(); song.CopyProps(this); return(song); }
public void CopyProps(OSSong otherSong) { Author = otherSong.Author; Capo = otherSong.Capo; CCLINumber = otherSong.CCLINumber; Copyright = otherSong.Copyright; HymnNumber = otherSong.HymnNumber; Key = otherSong.Key; Content = otherSong.Content; Presentation = otherSong.Presentation; Themes = otherSong.Themes; Title = otherSong.Title; CreatedDateUTC = otherSong.CreatedDateUTC; LastUpdatedDateUTC = otherSong.LastUpdatedDateUTC; CreatedByID = otherSong.CreatedByID; CreatedBy = otherSong.CreatedBy; VideoEmbedID = otherSong.VideoEmbedID; VideoLinkType = otherSong.VideoLinkType; Tempo = otherSong.Tempo; }