Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TeamSeasonDivision EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTeamSeasonDivision(TeamSeasonDivision teamSeasonDivision)
 {
     base.AddObject("TeamSeasonDivision", teamSeasonDivision);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new TeamSeasonDivision object.
 /// </summary>
 /// <param name="teamId">Initial value of the TeamId property.</param>
 /// <param name="divisionId">Initial value of the DivisionId property.</param>
 /// <param name="seasonId">Initial value of the SeasonId property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static TeamSeasonDivision CreateTeamSeasonDivision(global::System.Int64 teamId, global::System.Int64 divisionId, global::System.Int64 seasonId, global::System.Int64 id)
 {
     TeamSeasonDivision teamSeasonDivision = new TeamSeasonDivision();
     teamSeasonDivision.TeamId = teamId;
     teamSeasonDivision.DivisionId = divisionId;
     teamSeasonDivision.SeasonId = seasonId;
     teamSeasonDivision.Id = id;
     return teamSeasonDivision;
 }