//worry db에 추가하기 public int AddSuggest(ref CSuggest aSuggest) { Feb_suggest tmp_Suggest = new Feb_suggest(); tmp_Suggest.title = aSuggest.title; tmp_Suggest.content = aSuggest.content; tmp_Suggest.reg_date = aSuggest.reg_date; tmp_Suggest.writer = aSuggest.writer; theUserContext.Feb_suggest.InsertOnSubmit(tmp_Suggest); theUserContext.SubmitChanges(); return(1); } //Addsuggest
partial void DeleteFeb_suggest(Feb_suggest instance);
partial void InsertFeb_suggest(Feb_suggest instance);
partial void UpdateFeb_suggest(Feb_suggest instance);
private void detach_Feb_suggest(Feb_suggest entity) { this.SendPropertyChanging(); entity.Feb_member = null; }