/// <summary> /// Deprecated Method for adding a new object to the ExerciseTypeValues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExerciseTypeValues(ExerciseTypeValue exerciseTypeValue) { base.AddObject("ExerciseTypeValues", exerciseTypeValue); }
/// <summary> /// Create a new ExerciseTypeValue object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="exerciseTypeId">Initial value of the ExerciseTypeId property.</param> /// <param name="label">Initial value of the Label property.</param> /// <param name="isRequired">Initial value of the IsRequired property.</param> public static ExerciseTypeValue CreateExerciseTypeValue(global::System.Int32 id, global::System.Int32 exerciseTypeId, global::System.String label, global::System.Boolean isRequired) { ExerciseTypeValue exerciseTypeValue = new ExerciseTypeValue(); exerciseTypeValue.Id = id; exerciseTypeValue.ExerciseTypeId = exerciseTypeId; exerciseTypeValue.Label = label; exerciseTypeValue.IsRequired = isRequired; return exerciseTypeValue; }