/// <summary> /// Create a new ExerciseEntry object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="entryDate">Initial value of the EntryDate property.</param> /// <param name="savedDate">Initial value of the SavedDate property.</param> public static ExerciseEntry CreateExerciseEntry(global::System.Int32 id, global::System.Guid userId, global::System.Int32 type, global::System.String description, global::System.DateTime entryDate, global::System.DateTime savedDate) { ExerciseEntry exerciseEntry = new ExerciseEntry(); exerciseEntry.Id = id; exerciseEntry.UserId = userId; exerciseEntry.Type = type; exerciseEntry.Description = description; exerciseEntry.EntryDate = entryDate; exerciseEntry.SavedDate = savedDate; return exerciseEntry; }
/// <summary> /// Deprecated Method for adding a new object to the ExerciseEntries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExerciseEntries(ExerciseEntry exerciseEntry) { base.AddObject("ExerciseEntries", exerciseEntry); }