public void TestConnection() { op.Open(); ConnectionState state = op.GetConnection().State; op.Close(); Assert.AreEqual(ConnectionState.Open, state); }
public DataSet GetSomeData(string sql) { op.Open(); DataSet ds = op.Excute(sql); op.Close(); return(ds); }