Esempio n. 1
0
        public STD_MENU_ITEMS ParseReaderComplete(DataRow row)
        {
            STD_MENU_ITEMS objReturn = ParseReaderCustom(row);

            if (objReturn != null)
            {
                if (objReturn.STD_REGISTRY_ID > 0)
                {
                    STD_REGISTRYDB sTD_REGISTRYDB = new STD_REGISTRYDB();
                    objReturn.STD_REGISTRY = sTD_REGISTRYDB.ParseReaderCustom(row);
                }

                STD_WEB_PAGESDB sTD_WEB_PAGESDB = new STD_WEB_PAGESDB();
                if (objReturn.PAGE_ID > 0)
                {
                    objReturn.STD_WEB_PAGES = sTD_WEB_PAGESDB.ParseReaderCustom(row);
                }

                if (objReturn.MENU_PAGE_ID > 0)
                {
                    objReturn.MENU_PAGE = sTD_WEB_PAGESDB.ParseReaderAlt(row);
                }

                if (objReturn.STD_ROLE_ID > 0)
                {
                    STD_ROLEDB sTD_ROLEDB = new STD_ROLEDB();
                    objReturn.STD_ROLE = sTD_ROLEDB.ParseReaderCustom(row);
                }
            }

            return(objReturn);
        }
Esempio n. 2
0
        public STD_SURVEY_TYPE ParseReaderComplete(DataRow row)
        {
            STD_SURVEY_TYPE objReturn = ParseReaderCustom(row);

            if (objReturn != null)
            {
                STD_REGISTRYDB db = new STD_REGISTRYDB();
                objReturn.STD_REGISTRY = db.ParseReaderCustom(row);
            }

            return(objReturn);
        }
Esempio n. 3
0
        public REFERRAL ParseReaderComplete(DataRow row)
        {
            REFERRAL objReturn = ParseReaderCustom(row);

            if (objReturn != null)
            {
                if (objReturn.STD_REFERRALSTS_ID > 0)
                {
                    STD_REFERRALSTSDB sTD_REFERRALSTSDB = new STD_REFERRALSTSDB();
                    objReturn.STD_REFERRALSTS = sTD_REFERRALSTSDB.ParseReaderCustom(row);
                }

                if (objReturn.STD_REGISTRY_ID > 0)
                {
                    STD_REGISTRYDB sTD_REGISTRYDB = new STD_REGISTRYDB();
                    objReturn.STD_REGISTRY = sTD_REGISTRYDB.ParseReaderCustom(row);
                }

                if (objReturn.PATIENT_ID > 0)
                {
                    PATIENTDB pATIENTDB = new PATIENTDB();
                    objReturn.PATIENT = pATIENTDB.ParseReaderCustom(row);

                    SPATIENTDB sPATIENTDB = new SPATIENTDB();
                    objReturn.SPATIENT = sPATIENTDB.ParseReaderCustom(row);

                    objReturn.SPATIENT.PatientLastFour = (string)GetNullableObject(row.Field <object>("SPATIENT_PatientLastFour"));
                }

                if (objReturn.PROVIDER_ID > 0)
                {
                    SStaff_SStaffDB sStaff_SStaffDB = new SStaff_SStaffDB();
                    objReturn.SStaff_SStaff = sStaff_SStaffDB.ParseReaderCustom(row);
                }
            }

            return(objReturn);
        }