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