Ejemplo n.º 1
0
 //insert
 public bool commitInsert(news_post post)
 {
     using (newsObj)
     {
         newsObj.news_posts.InsertOnSubmit(post);
         newsObj.SubmitChanges();
         return(true);
     }
 }
Ejemplo n.º 2
0
 partial void Updatenews_post(news_post instance);
Ejemplo n.º 3
0
 partial void Deletenews_post(news_post instance);
Ejemplo n.º 4
0
 partial void Insertnews_post(news_post instance);