Exemplo n.º 1
0
 /// <summary>
 /// Create a new Milestone object.
 /// </summary>
 /// <param name="milestoneID">Initial value of the MilestoneID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Milestone CreateMilestone(global::System.Int32 milestoneID, global::System.String name)
 {
     Milestone milestone = new Milestone();
     milestone.MilestoneID = milestoneID;
     milestone.Name = name;
     return milestone;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Milestones EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMilestones(Milestone milestone)
 {
     base.AddObject("Milestones", milestone);
 }