示例#1
0
 public int InsertNewMedia(String Title, int Genre, int Director, int Language, int PublishYear, decimal Budget)
 {
     return(mediaTableAdapter.InsertNewMedia(Title, Genre, Director, Language, PublishYear, Budget));
 }
示例#2
0
 //INSERT NEW MEDIA
 public int InsertNewMedia(string title, int director, int genre, int language, int publishYear, int budget)
 {
     //return number of rows affected (1 good, 0 didn't insert)
     return(MediaTableAdapter.InsertNewMedia(title, genre, director, language, publishYear, budget));
 }