Exemplo n.º 1
0
 public TunnelConnection(ITunnelDriver driver, TunnelConnectionStringBuilder pars)
 {
     m_driver  = driver;
     m_params  = pars;
     m_factory = driver.ProviderFactory;
     m_driver.LoadConnectionParams(pars);
 }
Exemplo n.º 2
0
 public TunnelConnection(ITunnelDriver driver, string conns)
 {
     m_driver  = driver;
     m_factory = driver.ProviderFactory;
     m_params  = (TunnelConnectionStringBuilder)m_factory.CreateConnectionStringBuilder();
     m_params.ConnectionString = conns;
     m_driver.LoadConnectionParams(m_params);
 }
Exemplo n.º 3
0
 public TunnelConnection(ITunnelDriver driver)
 {
     m_driver  = driver;
     m_factory = driver.ProviderFactory;
     m_params  = (TunnelConnectionStringBuilder)m_factory.CreateConnectionStringBuilder();
 }