コード例 #1
0
        //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
コード例 #2
0
 partial void DeleteFeb_suggest(Feb_suggest instance);
コード例 #3
0
 partial void InsertFeb_suggest(Feb_suggest instance);
コード例 #4
0
 partial void UpdateFeb_suggest(Feb_suggest instance);
コード例 #5
0
 private void detach_Feb_suggest(Feb_suggest entity)
 {
     this.SendPropertyChanging();
     entity.Feb_member = null;
 }