상속: INotifyPropertyChanging, INotifyPropertyChanged
예제 #1
0
        public void LogMovie(Movie movie)
        {
            var movieLog = new MovieLog
            {
                MovieID = movie.ID,
                Rank = movie.Rank,
                LoggedDate = DateTime.Now
            };

            db.MovieLogs.InsertOnSubmit(movieLog);
        }
예제 #2
0
 public void Add(Movie movie)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 partial void DeleteMovie(Movie instance);
예제 #4
0
 partial void UpdateMovie(Movie instance);
예제 #5
0
 partial void InsertMovie(Movie instance);
예제 #6
0
 //Insert/delete
 public void Add(Movie movie)
 {
     db.Movies.InsertOnSubmit(movie);
 }