Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventTeams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventTeams(EventTeam eventTeam)
 {
     base.AddObject("EventTeams", eventTeam);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new EventTeam object.
 /// </summary>
 /// <param name="eventID">Initial value of the EventID property.</param>
 /// <param name="teamID">Initial value of the TeamID property.</param>
 public static EventTeam CreateEventTeam(global::System.Int32 eventID, global::System.Int32 teamID)
 {
     EventTeam eventTeam = new EventTeam();
     eventTeam.EventID = eventID;
     eventTeam.TeamID = teamID;
     return eventTeam;
 }