예제 #1
0
 public void InsertNews(NewsModel news)
 {
     var newsData = new Zinja()
     {
         Info = news.Info,
     };
     _dataContext.Zinjas.InsertOnSubmit(newsData);
     _dataContext.SubmitChanges();
 }
예제 #2
0
 partial void DeleteZinja(Zinja instance);
예제 #3
0
 partial void UpdateZinja(Zinja instance);
예제 #4
0
 partial void InsertZinja(Zinja instance);