/// <summary>
 /// Create a new wsRiderToEnrollment object.
 /// </summary>
 /// <param name="enrollment_id">Initial value of the enrollment_id property.</param>
 /// <param name="rider_id">Initial value of the rider_id property.</param>
 /// <param name="type_id">Initial value of the type_id property.</param>
 public static wsRiderToEnrollment CreatewsRiderToEnrollment(global::System.Int32 enrollment_id, global::System.Int16 rider_id, global::System.Int16 type_id)
 {
     wsRiderToEnrollment wsRiderToEnrollment = new wsRiderToEnrollment();
     wsRiderToEnrollment.enrollment_id = enrollment_id;
     wsRiderToEnrollment.rider_id = rider_id;
     wsRiderToEnrollment.type_id = type_id;
     return wsRiderToEnrollment;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the wsRiderToEnrollments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTowsRiderToEnrollments(wsRiderToEnrollment wsRiderToEnrollment)
 {
     base.AddObject("wsRiderToEnrollments", wsRiderToEnrollment);
 }