//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
partial void DeleteFeb_Worry(Feb_Worry instance);
partial void UpdateFeb_Worry(Feb_Worry instance);
partial void InsertFeb_Worry(Feb_Worry instance);
private void detach_Feb_Worry(Feb_Worry entity) { this.SendPropertyChanging(); entity.Feb_member = null; }