/// <summary>
 /// Create a new REGISTRATION object.
 /// </summary>
 /// <param name="registration_id">Initial value of the registration_id property.</param>
 /// <param name="registration_status_id">Initial value of the registration_status_id property.</param>
 /// <param name="client_id">Initial value of the client_id property.</param>
 /// <param name="course_id">Initial value of the course_id property.</param>
 /// <param name="creation_datetime">Initial value of the creation_datetime property.</param>
 /// <param name="course_fee_amount">Initial value of the course_fee_amount property.</param>
 /// <param name="classes_gone">Initial value of the classes_gone property.</param>
 /// <param name="total_classes">Initial value of the total_classes property.</param>
 /// <param name="fee_amount">Initial value of the fee_amount property.</param>
 /// <param name="tax_amount">Initial value of the tax_amount property.</param>
 /// <param name="xfee_amount">Initial value of the xfee_amount property.</param>
 /// <param name="xfee_tax_amount">Initial value of the xfee_tax_amount property.</param>
 /// <param name="net_registration_amount">Initial value of the net_registration_amount property.</param>
 /// <param name="num_registered">Initial value of the num_registered property.</param>
 /// <param name="tax_flag">Initial value of the tax_flag property.</param>
 /// <param name="adjustment_flag">Initial value of the adjustment_flag property.</param>
 /// <param name="xfee_flag">Initial value of the xfee_flag property.</param>
 /// <param name="datestamp">Initial value of the datestamp property.</param>
 /// <param name="userstamp">Initial value of the userstamp property.</param>
 /// <param name="billing_flag">Initial value of the billing_flag property.</param>
 /// <param name="bus_fee_amount">Initial value of the bus_fee_amount property.</param>
 /// <param name="bus_fee_tax_amount">Initial value of the bus_fee_tax_amount property.</param>
 /// <param name="creation_user_id">Initial value of the creation_user_id property.</param>
 /// <param name="subsidy_flag">Initial value of the subsidy_flag property.</param>
 /// <param name="equiv_fee_flag">Initial value of the equiv_fee_flag property.</param>
 /// <param name="withdraw_classes_gone">Initial value of the withdraw_classes_gone property.</param>
 public static REGISTRATION CreateREGISTRATION(global::System.Int32 registration_id, global::System.String registration_status_id, global::System.Int32 client_id, global::System.Int32 course_id, global::System.DateTime creation_datetime, global::System.Decimal course_fee_amount, global::System.Int32 classes_gone, global::System.Int32 total_classes, global::System.Decimal fee_amount, global::System.Decimal tax_amount, global::System.Decimal xfee_amount, global::System.Decimal xfee_tax_amount, global::System.Decimal net_registration_amount, global::System.Int32 num_registered, global::System.Boolean tax_flag, global::System.Boolean adjustment_flag, global::System.Boolean xfee_flag, global::System.DateTime datestamp, global::System.Int32 userstamp, global::System.Boolean billing_flag, global::System.Decimal bus_fee_amount, global::System.Decimal bus_fee_tax_amount, global::System.Int32 creation_user_id, global::System.Boolean subsidy_flag, global::System.Boolean equiv_fee_flag, global::System.Int32 withdraw_classes_gone)
 {
     REGISTRATION rEGISTRATION = new REGISTRATION();
     rEGISTRATION.registration_id = registration_id;
     rEGISTRATION.registration_status_id = registration_status_id;
     rEGISTRATION.client_id = client_id;
     rEGISTRATION.course_id = course_id;
     rEGISTRATION.creation_datetime = creation_datetime;
     rEGISTRATION.course_fee_amount = course_fee_amount;
     rEGISTRATION.classes_gone = classes_gone;
     rEGISTRATION.total_classes = total_classes;
     rEGISTRATION.fee_amount = fee_amount;
     rEGISTRATION.tax_amount = tax_amount;
     rEGISTRATION.xfee_amount = xfee_amount;
     rEGISTRATION.xfee_tax_amount = xfee_tax_amount;
     rEGISTRATION.net_registration_amount = net_registration_amount;
     rEGISTRATION.num_registered = num_registered;
     rEGISTRATION.tax_flag = tax_flag;
     rEGISTRATION.adjustment_flag = adjustment_flag;
     rEGISTRATION.xfee_flag = xfee_flag;
     rEGISTRATION.datestamp = datestamp;
     rEGISTRATION.userstamp = userstamp;
     rEGISTRATION.billing_flag = billing_flag;
     rEGISTRATION.bus_fee_amount = bus_fee_amount;
     rEGISTRATION.bus_fee_tax_amount = bus_fee_tax_amount;
     rEGISTRATION.creation_user_id = creation_user_id;
     rEGISTRATION.subsidy_flag = subsidy_flag;
     rEGISTRATION.equiv_fee_flag = equiv_fee_flag;
     rEGISTRATION.withdraw_classes_gone = withdraw_classes_gone;
     return rEGISTRATION;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the REGISTRATIONs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToREGISTRATIONs(REGISTRATION rEGISTRATION)
 {
     base.AddObject("REGISTRATIONs", rEGISTRATION);
 }