/// <summary> /// Deprecated Method for adding a new object to the ACTIVITies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToACTIVITies(ACTIVITY aCTIVITY) { base.AddObject("ACTIVITies", aCTIVITY); }
/// <summary> /// Create a new ACTIVITY object. /// </summary> /// <param name="activity_id">Initial value of the activity_id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="title">Initial value of the title property.</param> /// <param name="attendance_mandatory_flag">Initial value of the attendance_mandatory_flag property.</param> /// <param name="attendance_by_class_flag">Initial value of the attendance_by_class_flag property.</param> /// <param name="sched_payment_allowed_flag">Initial value of the sched_payment_allowed_flag property.</param> /// <param name="group_registrations_allowed">Initial value of the group_registrations_allowed property.</param> /// <param name="datestamp">Initial value of the datestamp property.</param> /// <param name="userstamp">Initial value of the userstamp property.</param> /// <param name="allow_third_party_billing">Initial value of the allow_third_party_billing property.</param> /// <param name="include_in_tax_receipt">Initial value of the include_in_tax_receipt property.</param> /// <param name="active">Initial value of the active property.</param> /// <param name="late_public_reg_flag">Initial value of the late_public_reg_flag property.</param> /// <param name="late_public_withdraw_flag">Initial value of the late_public_withdraw_flag property.</param> /// <param name="allow_linked_courses">Initial value of the allow_linked_courses property.</param> /// <param name="linked_registrations_only">Initial value of the linked_registrations_only property.</param> /// <param name="subsidy_flag">Initial value of the subsidy_flag property.</param> /// <param name="allow_portal_display_flag">Initial value of the allow_portal_display_flag property.</param> /// <param name="flexcare_flag">Initial value of the flexcare_flag property.</param> /// <param name="track_attendance_per_reg">Initial value of the track_attendance_per_reg property.</param> /// <param name="revenue_deferral_option">Initial value of the revenue_deferral_option property.</param> /// <param name="all_prereq_flag">Initial value of the all_prereq_flag property.</param> /// <param name="race_flag">Initial value of the race_flag property.</param> /// <param name="camp_flag">Initial value of the camp_flag property.</param> public static ACTIVITY CreateACTIVITY(global::System.Int32 activity_id, global::System.String name, global::System.String title, global::System.Boolean attendance_mandatory_flag, global::System.Boolean attendance_by_class_flag, global::System.Boolean sched_payment_allowed_flag, global::System.Boolean group_registrations_allowed, global::System.DateTime datestamp, global::System.Int32 userstamp, global::System.Boolean allow_third_party_billing, global::System.Boolean include_in_tax_receipt, global::System.Boolean active, global::System.Boolean late_public_reg_flag, global::System.Boolean late_public_withdraw_flag, global::System.Boolean allow_linked_courses, global::System.Boolean linked_registrations_only, global::System.Boolean subsidy_flag, global::System.Boolean allow_portal_display_flag, global::System.Boolean flexcare_flag, global::System.Boolean track_attendance_per_reg, global::System.Byte revenue_deferral_option, global::System.Boolean all_prereq_flag, global::System.Boolean race_flag, global::System.Boolean camp_flag) { ACTIVITY aCTIVITY = new ACTIVITY(); aCTIVITY.activity_id = activity_id; aCTIVITY.name = name; aCTIVITY.title = title; aCTIVITY.attendance_mandatory_flag = attendance_mandatory_flag; aCTIVITY.attendance_by_class_flag = attendance_by_class_flag; aCTIVITY.sched_payment_allowed_flag = sched_payment_allowed_flag; aCTIVITY.group_registrations_allowed = group_registrations_allowed; aCTIVITY.datestamp = datestamp; aCTIVITY.userstamp = userstamp; aCTIVITY.allow_third_party_billing = allow_third_party_billing; aCTIVITY.include_in_tax_receipt = include_in_tax_receipt; aCTIVITY.active = active; aCTIVITY.late_public_reg_flag = late_public_reg_flag; aCTIVITY.late_public_withdraw_flag = late_public_withdraw_flag; aCTIVITY.allow_linked_courses = allow_linked_courses; aCTIVITY.linked_registrations_only = linked_registrations_only; aCTIVITY.subsidy_flag = subsidy_flag; aCTIVITY.allow_portal_display_flag = allow_portal_display_flag; aCTIVITY.flexcare_flag = flexcare_flag; aCTIVITY.track_attendance_per_reg = track_attendance_per_reg; aCTIVITY.revenue_deferral_option = revenue_deferral_option; aCTIVITY.all_prereq_flag = all_prereq_flag; aCTIVITY.race_flag = race_flag; aCTIVITY.camp_flag = camp_flag; return aCTIVITY; }