Esempio n. 1
0
        public IDeptMasterDA GetDeptMasterDA()
        {
            IDeptMasterDA iDeptMasterDA = null;

            if (this._dataBaseType == DataBaseType.Access)
            {
                iDeptMasterDA = new MD.DAL.AccessDAL.Master.DeptMasterDA();
            }
            if (this._dataBaseType == DataBaseType.SqlServer)
            {
                iDeptMasterDA = new DAL.SqlDAL.Master.DeptMasterDA();
            }

            return iDeptMasterDA;
        }
Esempio n. 2
0
        public IDeptMasterDA GetDeptMasterDA()
        {
            IDeptMasterDA iDeptMasterDA = null;

            if (this._dataBaseType == DataBaseType.Access)
            {
                iDeptMasterDA = new MD.DAL.AccessDAL.Master.DeptMasterDA();
            }
            if (this._dataBaseType == DataBaseType.SqlServer)
            {
                iDeptMasterDA = new DAL.SqlDAL.Master.DeptMasterDA();
            }

            return(iDeptMasterDA);
        }