예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Crews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCrews(Crew crew)
 {
     base.AddObject("Crews", crew);
 }
예제 #2
0
 /// <summary>
 /// Create a new Crew object.
 /// </summary>
 /// <param name="crewID">Initial value of the CrewID property.</param>
 public static Crew CreateCrew(global::System.Int16 crewID)
 {
     Crew crew = new Crew();
     crew.CrewID = crewID;
     return crew;
 }