/// <summary> /// Create a new wsPartnerEnrollment object. /// </summary> /// <param name="enrollment_id">Initial value of the enrollment_id property.</param> /// <param name="partner_id">Initial value of the partner_id property.</param> /// <param name="enrollment_code">Initial value of the enrollment_code property.</param> public static wsPartnerEnrollment CreatewsPartnerEnrollment(global::System.Int32 enrollment_id, global::System.Int32 partner_id, global::System.String enrollment_code) { wsPartnerEnrollment wsPartnerEnrollment = new wsPartnerEnrollment(); wsPartnerEnrollment.enrollment_id = enrollment_id; wsPartnerEnrollment.partner_id = partner_id; wsPartnerEnrollment.enrollment_code = enrollment_code; return wsPartnerEnrollment; }
/// <summary> /// Deprecated Method for adding a new object to the wsPartnerEnrollments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTowsPartnerEnrollments(wsPartnerEnrollment wsPartnerEnrollment) { base.AddObject("wsPartnerEnrollments", wsPartnerEnrollment); }