Example #1
0
        public PlanPaymentArrangements Clone()
        {
            PlanPaymentArrangements planPaymentArrangements = new PlanPaymentArrangements();

            planPaymentArrangements.IsLoading = true;
            foreach (PlanPaymentArrangement planPaymentArrangement in this)
            {
                planPaymentArrangements.Add(planPaymentArrangement.Clone());
            }
            planPaymentArrangements.IsLoading = false;

            return(planPaymentArrangements);
        }
Example #2
0
        private void RestoreBackups()
        {
            _strPlanName            = _strPlanName_orig;
            _bolCAPP                = _bolCAPP_orig;
            _bolNonCAPP             = _bolNonCAPP_orig;
            _bolIsFiled             = _bolIsFiled_orig;
            _bolNonComplianceNotice = _bolNonComplianceNotice_orig;
            _bolHasInsurance        = _bolHasInsurance_orig;
            _bolInContempt          = _bolInContempt_orig;
            _FiledDate              = _FiledDate_orig;

            _PlanCases = (_PlanCases_orig == null) ? null : _PlanCases_orig.Clone();
            _PlanFees  = (_PlanFees_orig == null) ? null : _PlanFees_orig.Clone();
            _PlanPaymentArrangements = (_PlanPaymentArrangements_orig == null) ? null : _PlanPaymentArrangements_orig.Clone();
            _PlanPayments            = (_PlanPayments_orig == null) ? null : _PlanPayments_orig.Clone();
        }
Example #3
0
        private void SaveBackups()
        {
            _strPlanName_orig            = _strPlanName;
            _bolCAPP_orig                = _bolCAPP;
            _bolNonCAPP_orig             = _bolNonCAPP;
            _bolIsFiled_orig             = _bolIsFiled;
            _bolNonComplianceNotice_orig = _bolNonComplianceNotice;
            _bolHasInsurance_orig        = _bolHasInsurance;
            _bolInContempt_orig          = _bolInContempt;
            _FiledDate_orig              = _FiledDate;

            // force payment collection to refresh itself.
            _PlanPayments = null;

            _PlanCases_orig = (_PlanCases == null) ? null : _PlanCases.Clone();
            _PlanFees_orig  = (_PlanFees == null) ? null : _PlanFees.Clone();
            _PlanPaymentArrangements_orig = (_PlanPaymentArrangements == null) ? null : _PlanPaymentArrangements.Clone();
            _PlanPayments_orig            = (_PlanPayments == null) ? null : _PlanPayments.Clone();
        }
Example #4
0
 private void InitializeProperties()
 {
     _strPlanName_orig            = _strPlanName = string.Empty;
     _bolCAPP_orig                = _bolCAPP = false;
     _bolNonCAPP_orig             = _bolNonCAPP = false;
     _bolIsFiled_orig             = _bolIsFiled = false;
     _bolNonComplianceNotice_orig = _bolNonComplianceNotice = false;
     _bolHasInsurance_orig        = _bolHasInsurance = false;
     _bolInContempt_orig          = _bolInContempt = false;
     _FiledDate_orig              = _FiledDate = null;
     _PlanCases_orig              = null;
     _PlanCases     = null;
     _PlanFees_orig = null;
     _PlanFees      = null;
     _PlanPaymentArrangements_orig = null;
     _PlanPaymentArrangements      = null;
     _PlanPayments_orig            = null;
     _PlanPayments = null;
 }