/// <summary> /// Deprecated Method for adding a new object to the ScheduledAnnouncements EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToScheduledAnnouncements(ScheduledAnnouncements scheduledAnnouncements) { base.AddObject("ScheduledAnnouncements", scheduledAnnouncements); }
/// <summary> /// Create a new ScheduledAnnouncements object. /// </summary> /// <param name="sa_id">Initial value of the sa_id property.</param> /// <param name="sa_name">Initial value of the sa_name property.</param> /// <param name="sa_subject">Initial value of the sa_subject property.</param> /// <param name="sa_body">Initial value of the sa_body property.</param> /// <param name="sa_type">Initial value of the sa_type property.</param> public static ScheduledAnnouncements CreateScheduledAnnouncements(global::System.Int32 sa_id, global::System.String sa_name, global::System.String sa_subject, global::System.String sa_body, global::System.Int32 sa_type) { ScheduledAnnouncements scheduledAnnouncements = new ScheduledAnnouncements(); scheduledAnnouncements.sa_id = sa_id; scheduledAnnouncements.sa_name = sa_name; scheduledAnnouncements.sa_subject = sa_subject; scheduledAnnouncements.sa_body = sa_body; scheduledAnnouncements.sa_type = sa_type; return scheduledAnnouncements; }