Пример #1
0
 partial void DeletePlayList(PlayList instance);
Пример #2
0
 public void AddToPlayList(string mids,string uid)
 {
     string sql="select * from Music where Mid in ("+mids+")";
     var result = db.ExecuteQuery<Music>(sql);
     foreach (var item in result)
     {
         PlayList pl = new PlayList();
         pl.Mid = item.Mid;
         pl.Uid = uid;
         db.PlayList.InsertOnSubmit(pl);
         db.SubmitChanges();
     }
 }
Пример #3
0
 partial void UpdatePlayList(PlayList instance);
Пример #4
0
 partial void InsertPlayList(PlayList instance);
Пример #5
0
 partial void DeletePlayList(PlayList instance);
Пример #6
0
 partial void UpdatePlayList(PlayList instance);
Пример #7
0
 partial void InsertPlayList(PlayList instance);