コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Coaches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCoaches(Coach coach)
 {
     base.AddObject("Coaches", coach);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Coach object.
 /// </summary>
 /// <param name="coachID">Initial value of the CoachID property.</param>
 public static Coach CreateCoach(global::System.Int32 coachID)
 {
     Coach coach = new Coach();
     coach.CoachID = coachID;
     return coach;
 }