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(); }
public SMSUserInfoBLL(DataConnectType dct) { _infomation = string.Empty; _dct = dct; model = new SMSUserInfoModel(); }
public SMSUserInfoBLL() { _infomation = string.Empty; _dct = DataConnectType.ServerDBDataService; model = new SMSUserInfoModel(); }
public SMSReceiveListBLL(DataConnectType dct) { _infomation = string.Empty; _dct = dct; model = new SMSReceiveListModel(); }
public CommonDal(DataConnectType dct) { _clk = ep.GetSQLLink(dct); }
public CommonBll(DataConnectType dct) { _infomation = string.Empty; _dct = dct; }
public CommonBll() { _infomation = string.Empty; _dct = DataConnectType.ServerDBDataService; }