Example #1
0
        public void AddView(int workoutID)
        {
            WorkoutView view = new WorkoutView();

            view.workoutID = workoutID;
            view.viewDate  = DateTime.Now;
            DB.WorkoutViews.InsertOnSubmit(view);
            SubmitChanges();
        }
Example #2
0
 partial void DeleteWorkoutView(WorkoutView instance);
Example #3
0
 partial void UpdateWorkoutView(WorkoutView instance);
Example #4
0
 partial void InsertWorkoutView(WorkoutView instance);
Example #5
0
 private void detach_WorkoutViews(WorkoutView entity)
 {
     this.SendPropertyChanging();
     entity.Workout = null;
 }
Example #6
0
 private void attach_WorkoutViews(WorkoutView entity)
 {
     this.SendPropertyChanging();
     entity.Workout = this;
 }