상속: 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
		private void detach_MovieLogs(MovieLog entity)
		{
			this.SendPropertyChanging();
			entity.Movie = null;
		}
예제 #3
0
		private void attach_MovieLogs(MovieLog entity)
		{
			this.SendPropertyChanging();
			entity.Movie = this;
		}
예제 #4
0
 partial void DeleteMovieLog(MovieLog instance);
예제 #5
0
 partial void UpdateMovieLog(MovieLog instance);
예제 #6
0
 partial void InsertMovieLog(MovieLog instance);