/// <summary> /// Deprecated Method for adding a new object to the Requirements EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRequirements(Requirement requirement) { base.AddObject("Requirements", requirement); }
/// <summary> /// Create a new Requirement object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="prizeId">Initial value of the PrizeId property.</param> public static Requirement CreateRequirement(global::System.Int64 id, global::System.String description, global::System.Int32 prizeId) { Requirement requirement = new Requirement(); requirement.Id = id; requirement.Description = description; requirement.PrizeId = prizeId; return requirement; }