/// <summary> /// Deprecated Method for adding a new object to the V_NumberOfParticipationsByOccasions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToV_NumberOfParticipationsByOccasions(V_NumberOfParticipationsByOccasion v_NumberOfParticipationsByOccasion) { base.AddObject("V_NumberOfParticipationsByOccasions", v_NumberOfParticipationsByOccasion); }
/// <summary> /// Create a new V_NumberOfParticipationsByOccasion object. /// </summary> /// <param name="occasionID">Initial value of the OccasionID property.</param> /// <param name="name">Initial value of the Name property.</param> public static V_NumberOfParticipationsByOccasion CreateV_NumberOfParticipationsByOccasion(global::System.Int32 occasionID, global::System.String name) { V_NumberOfParticipationsByOccasion v_NumberOfParticipationsByOccasion = new V_NumberOfParticipationsByOccasion(); v_NumberOfParticipationsByOccasion.OccasionID = occasionID; v_NumberOfParticipationsByOccasion.Name = name; return v_NumberOfParticipationsByOccasion; }