Exemple #1
0
        public PopulationCriteriaEnrollment Copy()
        {
            Server.Application.PopulationCriteriaEnrollment serverPopulationCriteria = (Server.Application.PopulationCriteriaEnrollment)ToServerObject();

            PopulationCriteriaEnrollment copiedPopulationCriteria = new PopulationCriteriaEnrollment(application, serverPopulationCriteria);

            return(copiedPopulationCriteria);
        }
Exemple #2
0
        public Boolean IsEqual(PopulationCriteriaEnrollment compareCriteria)
        {
            Boolean isEqual = true;

            if (this.insurerId != compareCriteria.InsurerId)
            {
                isEqual = false;
            }

            if (this.programId != compareCriteria.ProgramId)
            {
                isEqual = false;
            }

            if (this.benefitPlanId != compareCriteria.BenefitPlanId)
            {
                isEqual = false;
            }

            return(isEqual);
        }