/// <summary> /// Create a new COURSE object. /// </summary> /// <param name="course_id">Initial value of the course_id property.</param> /// <param name="activity_id">Initial value of the activity_id property.</param> /// <param name="session_year">Initial value of the session_year property.</param> /// <param name="session_title_id">Initial value of the session_title_id property.</param> /// <param name="course_number">Initial value of the course_number property.</param> /// <param name="course_status_id">Initial value of the course_status_id property.</param> /// <param name="supervisor">Initial value of the supervisor property.</param> /// <param name="reg_start_date">Initial value of the reg_start_date property.</param> /// <param name="min_registrants">Initial value of the min_registrants property.</param> /// <param name="max_registrants">Initial value of the max_registrants property.</param> /// <param name="num_reserved">Initial value of the num_reserved property.</param> /// <param name="num_registered">Initial value of the num_registered property.</param> /// <param name="num_waitlisted">Initial value of the num_waitlisted property.</param> /// <param name="userstamp">Initial value of the userstamp property.</param> /// <param name="datestamp">Initial value of the datestamp property.</param> /// <param name="gl_account_id">Initial value of the gl_account_id property.</param> /// <param name="include_in_tax_receipt">Initial value of the include_in_tax_receipt property.</param> /// <param name="residential_flag">Initial value of the residential_flag property.</param> /// <param name="age_as_of">Initial value of the age_as_of property.</param> /// <param name="member_reg_start_date">Initial value of the member_reg_start_date property.</param> /// <param name="reg_start_time">Initial value of the reg_start_time property.</param> /// <param name="subsidy_flag">Initial value of the subsidy_flag property.</param> /// <param name="base_instructor_rate_flag">Initial value of the base_instructor_rate_flag property.</param> /// <param name="photo_req_flag">Initial value of the photo_req_flag property.</param> /// <param name="auth_pickup_req_flag">Initial value of the auth_pickup_req_flag property.</param> /// <param name="track_attendance">Initial value of the track_attendance property.</param> /// <param name="flexcare_station_enabled">Initial value of the flexcare_station_enabled property.</param> /// <param name="dependent_care_flag">Initial value of the dependent_care_flag property.</param> /// <param name="race_team_flag">Initial value of the race_team_flag property.</param> /// <param name="camp_flag">Initial value of the camp_flag property.</param> public static COURSE CreateCOURSE(global::System.Int32 course_id, global::System.Int32 activity_id, global::System.String session_year, global::System.Int32 session_title_id, global::System.Int32 course_number, global::System.String course_status_id, global::System.Int32 supervisor, global::System.DateTime reg_start_date, global::System.Int32 min_registrants, global::System.Int32 max_registrants, global::System.Int32 num_reserved, global::System.Int32 num_registered, global::System.Int32 num_waitlisted, global::System.Int32 userstamp, global::System.DateTime datestamp, global::System.Int32 gl_account_id, global::System.Boolean include_in_tax_receipt, global::System.Boolean residential_flag, global::System.Byte age_as_of, global::System.DateTime member_reg_start_date, global::System.DateTime reg_start_time, global::System.Boolean subsidy_flag, global::System.Boolean base_instructor_rate_flag, global::System.Boolean photo_req_flag, global::System.Boolean auth_pickup_req_flag, global::System.Boolean track_attendance, global::System.Boolean flexcare_station_enabled, global::System.Boolean dependent_care_flag, global::System.Boolean race_team_flag, global::System.Boolean camp_flag) { COURSE cOURSE = new COURSE(); cOURSE.course_id = course_id; cOURSE.activity_id = activity_id; cOURSE.session_year = session_year; cOURSE.session_title_id = session_title_id; cOURSE.course_number = course_number; cOURSE.course_status_id = course_status_id; cOURSE.supervisor = supervisor; cOURSE.reg_start_date = reg_start_date; cOURSE.min_registrants = min_registrants; cOURSE.max_registrants = max_registrants; cOURSE.num_reserved = num_reserved; cOURSE.num_registered = num_registered; cOURSE.num_waitlisted = num_waitlisted; cOURSE.userstamp = userstamp; cOURSE.datestamp = datestamp; cOURSE.gl_account_id = gl_account_id; cOURSE.include_in_tax_receipt = include_in_tax_receipt; cOURSE.residential_flag = residential_flag; cOURSE.age_as_of = age_as_of; cOURSE.member_reg_start_date = member_reg_start_date; cOURSE.reg_start_time = reg_start_time; cOURSE.subsidy_flag = subsidy_flag; cOURSE.base_instructor_rate_flag = base_instructor_rate_flag; cOURSE.photo_req_flag = photo_req_flag; cOURSE.auth_pickup_req_flag = auth_pickup_req_flag; cOURSE.track_attendance = track_attendance; cOURSE.flexcare_station_enabled = flexcare_station_enabled; cOURSE.dependent_care_flag = dependent_care_flag; cOURSE.race_team_flag = race_team_flag; cOURSE.camp_flag = camp_flag; return cOURSE; }
/// <summary> /// Deprecated Method for adding a new object to the COURSEs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCOURSEs(COURSE cOURSE) { base.AddObject("COURSEs", cOURSE); }