private void _UpdateInfo()
 {
     if (Selected != null)
     {
         VM番组.解析信息(Selected.番组.Bangumi编号, Selected.番组);
         DbModel.SaveChanges();
     }
 }
Beispiel #2
0
        private void _DropBgm(object o)
        {
            var code = (string)o;
            var bgm  = VM番组.解析信息(code, new 番组());

            bgm.Bangumi编号 = code;
            DbModel.番组.Add(bgm);
            DbModel.SaveChanges();
            BgmList.Add(bgm);
        }