/// <summary> /// Deprecated Method for adding a new object to the WorkoutParts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkoutParts(WorkoutPart workoutPart) { base.AddObject("WorkoutParts", workoutPart); }
/// <summary> /// Create a new WorkoutPart object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="workout_Id">Initial value of the Workout_Id property.</param> /// <param name="latitude">Initial value of the Latitude property.</param> /// <param name="longitude">Initial value of the Longitude property.</param> /// <param name="date">Initial value of the Date property.</param> public static WorkoutPart CreateWorkoutPart(global::System.Int32 id, global::System.DateTime created, global::System.DateTime lastModified, global::System.Boolean isDeleted, global::System.Int32 workout_Id, global::System.Double latitude, global::System.Double longitude, global::System.DateTime date) { WorkoutPart workoutPart = new WorkoutPart(); workoutPart.Id = id; workoutPart.Created = created; workoutPart.LastModified = lastModified; workoutPart.IsDeleted = isDeleted; workoutPart.Workout_Id = workout_Id; workoutPart.Latitude = latitude; workoutPart.Longitude = longitude; workoutPart.Date = date; return workoutPart; }