Exemplo n.º 1
0
        public override AbstractConnection getConnection(DataSource dataSource)
        {
            VistaPoolConnection myCxn = new VistaPoolConnection(dataSource);

            myCxn.ConnectStrategy = new VistaNatConnectStrategy(myCxn);
            return(myCxn);
        }
Exemplo n.º 2
0
 public override AbstractConnection getConnection(DataSource dataSource)
 {
     VistaPoolConnection myCxn = new VistaPoolConnection(dataSource);
     myCxn.ConnectStrategy = new VistaNatConnectStrategy(myCxn);
     return myCxn;
 }