Exemple #1
0
        public static Customerlink GetSQLLink(DataConnectType dct)
        {
            Customerlink cl = null;

            try
            {
                if (dct == DataConnectType.UserDBDataService)
                {
                    cl = new Customerlink(UserServerIP, UserDBName, UserServerName, UserServerPassword);
                }
                else if (dct == DataConnectType.ServerDBDataService)
                {
                    cl = new Customerlink(ServerIP, DBName, ServerSQLName, ServerSQLPassword);
                }
                else
                {
                    cl = new Customerlink(CustomServerIP, CustomServerDBName, ServerSQLName, ServerSQLPassword);
                }
            }
            catch (Exception ex)
            {
                cl = null;
            }
            return(cl);
        }
        public SMSCheckSystemListBLL(DataConnectType dct)
        {
            _infomation = string.Empty;

            _dct = dct;

            model = new SMSCheckSystemListModel();
        }
        public SMSCheckSystemListBLL()
        {
            _infomation = string.Empty;

            _dct = DataConnectType.ServerDBDataService;

            model = new SMSCheckSystemListModel();
        }
Exemple #4
0
        public SMSUserInfoBLL(DataConnectType dct)
        {
            _infomation = string.Empty;

            _dct = dct;

            model = new SMSUserInfoModel();
        }
Exemple #5
0
        public SMSUserInfoBLL()
        {
            _infomation = string.Empty;

            _dct = DataConnectType.ServerDBDataService;

            model = new SMSUserInfoModel();
        }
        public SMSReceiveListBLL(DataConnectType dct)
        {
            _infomation = string.Empty;

            _dct = dct;

            model = new SMSReceiveListModel();
        }
Exemple #7
0
 public CommonDal(DataConnectType dct)
 {
     _clk = ep.GetSQLLink(dct);
 }
Exemple #8
0
        public CommonBll(DataConnectType dct)
        {
            _infomation = string.Empty;

            _dct = dct;
        }
Exemple #9
0
        public CommonBll()
        {
            _infomation = string.Empty;

            _dct = DataConnectType.ServerDBDataService;
        }