Exemplo n.º 1
0
        public void TestConnection()
        {
            op.Open();
            ConnectionState state = op.GetConnection().State;

            op.Close();
            Assert.AreEqual(ConnectionState.Open, state);
        }
Exemplo n.º 2
0
            public DataSet GetSomeData(string sql)
            {
                op.Open();
                DataSet ds = op.Excute(sql);

                op.Close();
                return(ds);
            }
Exemplo n.º 3
0
 public virtual System.Data.IDbConnection GetConnection()
 {
     op.Open();
     return(op.GetConnection());
 }