コード例 #1
0
        public void add(cfgVedio cv)
        {
            cv.inpdate = DateTime.Now;
            cv.valid   = 1;
            db.cfgVedio.Add(cv);

            db.SaveChanges();
        }
コード例 #2
0
 public GamePostViewModel()
 {
     vedio    = new VedioRecord();
     gamepost = new GamePosts();
     game     = new gameDto();
     cfgVedio = new cfgVedio();
     TeamA    = new Teams();
     TeamB    = new Teams();
     PlayGame = new cfgPlayGame();
 }