/// <summary> /// Create a new TeamParticipation object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> /// <param name="occasionID">Initial value of the OccasionID property.</param> /// <param name="teamID">Initial value of the TeamID property.</param> public static TeamParticipation CreateTeamParticipation(global::System.Int32 id, global::System.Guid guid, global::System.String createdBy, global::System.DateTime createdAt, global::System.Byte[] timestamp, global::System.Int32 occasionID, global::System.Int32 teamID) { TeamParticipation teamParticipation = new TeamParticipation(); teamParticipation.ID = id; teamParticipation.Guid = guid; teamParticipation.CreatedBy = createdBy; teamParticipation.CreatedAt = createdAt; teamParticipation.Timestamp = timestamp; teamParticipation.OccasionID = occasionID; teamParticipation.TeamID = teamID; return teamParticipation; }
/// <summary> /// Deprecated Method for adding a new object to the TeamParticipations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTeamParticipations(TeamParticipation teamParticipation) { base.AddObject("TeamParticipations", teamParticipation); }