/// <summary> /// Deprecated Method for adding a new object to the V_ParticipantsByOccasions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToV_ParticipantsByOccasions(V_ParticipantsByOccasion v_ParticipantsByOccasion) { base.AddObject("V_ParticipantsByOccasions", v_ParticipantsByOccasion); }
/// <summary> /// Create a new V_ParticipantsByOccasion object. /// </summary> /// <param name="occasionID">Initial value of the OccasionID property.</param> /// <param name="occasionName">Initial value of the OccasionName property.</param> public static V_ParticipantsByOccasion CreateV_ParticipantsByOccasion(global::System.Int32 occasionID, global::System.String occasionName) { V_ParticipantsByOccasion v_ParticipantsByOccasion = new V_ParticipantsByOccasion(); v_ParticipantsByOccasion.OccasionID = occasionID; v_ParticipantsByOccasion.OccasionName = occasionName; return v_ParticipantsByOccasion; }