public void SetUp() { Exception exp = null; BeginCase("Setup"); try { con = new OracleConnection(MonoTests.System.Data.Utils.ConnectedDataProvider.ConnectionString); cmd = new OracleCommand("Select EmployeeID From Employees Where FirstName = 'Oved'", con); cmd.CommandType = CommandType.Text; con.Open(); rdr = cmd.ExecuteReader(); rdr.Read(); typeName = rdr.GetDataTypeName(0); con.Close(); } catch(Exception ex){exp = ex;} finally {EndCase(exp);} }
public override string GetDataTypeName(int ordinal) { return(rdr.GetDataTypeName(ordinal)); }