//worry db에 추가하기
        public int AddWorry(ref CWorry aWorry)
        {
            Feb_Worry tmp_worry = new Feb_Worry();

            tmp_worry.title      = aWorry.title;
            tmp_worry.content    = aWorry.content;
            tmp_worry.writer     = aWorry.writer;
            tmp_worry.reg_date   = DateTime.Now;
            tmp_worry.report_chk = 0;

            theUserContext.Feb_Worry.InsertOnSubmit(tmp_worry);
            theUserContext.SubmitChanges();

            return(1);
        } //AddWorry
Example #2
0
 partial void DeleteFeb_Worry(Feb_Worry instance);
Example #3
0
 partial void UpdateFeb_Worry(Feb_Worry instance);
Example #4
0
 partial void InsertFeb_Worry(Feb_Worry instance);
Example #5
0
 private void detach_Feb_Worry(Feb_Worry entity)
 {
     this.SendPropertyChanging();
     entity.Feb_member = null;
 }