Пример #1
0
        public InsurancePlan_Collection getInsurancePlansCovered()
        {
            SqlDataReader sqlDataRdr = this.GetDataReader("SELECT InsurncPlanCode as InsPlanCode, LongDescr, NRContinuumText, TierText, TSIFinclClassPlusText FROM PayorMaster");

            InsurancePlan_Collection insPlans = new InsurancePlan_Collection();
            InsurancePlanBO insPlanToAdd;

            while(sqlDataRdr.Read())
            {
                insPlanToAdd = new InsurancePlanBO();
                insPlanToAdd.InsurancePlanCode = sqlDataRdr["InsPlanCode"].ToString();
                insPlanToAdd.Description = sqlDataRdr["LongDescr"].ToString();
                insPlanToAdd.FinancialClass = sqlDataRdr["TSIFinclClassPlusText"].ToString();
                insPlanToAdd.NetRevenueContinuum = sqlDataRdr["NRContinuumText"].ToString();
                insPlanToAdd.Tier = sqlDataRdr["TierText"].ToString();

                insPlans.addInsurancePlan(insPlanToAdd);
            }

            this.CloseConnection();

            return insPlans;
        }
        public void setInsPlansCovered(InsurancePlan_Collection in_insPlansCovered)
        {
            insPlansCovered = in_insPlansCovered;

            this.loadCtrl();
        }