/// <summary> /// Deprecated Method for adding a new object to the TitleParticipants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTitleParticipants(TitleParticipant titleParticipant) { base.AddObject("TitleParticipants", titleParticipant); }
/// <summary> /// Create a new TitleParticipant object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="titleId">Initial value of the TitleId property.</param> /// <param name="participantId">Initial value of the ParticipantId property.</param> /// <param name="isKey">Initial value of the IsKey property.</param> /// <param name="isOnScreen">Initial value of the IsOnScreen property.</param> public static TitleParticipant CreateTitleParticipant(global::System.Int32 id, global::System.Int32 titleId, global::System.Int32 participantId, global::System.Boolean isKey, global::System.Boolean isOnScreen) { TitleParticipant titleParticipant = new TitleParticipant(); titleParticipant.Id = id; titleParticipant.TitleId = titleId; titleParticipant.ParticipantId = participantId; titleParticipant.IsKey = isKey; titleParticipant.IsOnScreen = isOnScreen; return titleParticipant; }