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

            db.MovieLogs.InsertOnSubmit(movieLog);
        }
Beispiel #2
0
		private void detach_MovieLogs(MovieLog entity)
		{
			this.SendPropertyChanging();
			entity.Movie = null;
		}
Beispiel #3
0
		private void attach_MovieLogs(MovieLog entity)
		{
			this.SendPropertyChanging();
			entity.Movie = this;
		}
Beispiel #4
0
 partial void DeleteMovieLog(MovieLog instance);
Beispiel #5
0
 partial void UpdateMovieLog(MovieLog instance);
Beispiel #6
0
 partial void InsertMovieLog(MovieLog instance);