Beispiel #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();
        }
Beispiel #4
0
        public SMSUserInfoBLL(DataConnectType dct)
        {
            _infomation = string.Empty;

            _dct = dct;

            model = new SMSUserInfoModel();
        }
Beispiel #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();
        }
Beispiel #7
0
 public CommonDal(DataConnectType dct)
 {
     _clk = ep.GetSQLLink(dct);
 }
Beispiel #8
0
        public CommonBll(DataConnectType dct)
        {
            _infomation = string.Empty;

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

            _dct = DataConnectType.ServerDBDataService;
        }