Exemplo n.º 1
0
 /// <summary>
 /// 刷新数据
 /// </summary>
 /// <param name="rps"></param>
 public virtual void _Update(RelPlayListSong rps)
 {
     PlayListId = rps.PlayListId ?? PlayListId;
     SongId     = rps.SongId ?? SongId;
     PlayList   = rps.PlayList ?? PlayList;
     Song       = rps.Song ?? Song;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="rps"></param>
 public RelPlayListSong(RelPlayListSong rps)
 {
     PlayListId = rps.PlayListId;
     SongId     = rps.SongId;
     PlayList   = rps.PlayList;
     Song       = rps.Song;
 }