cmdObj.ExecuteNonQuery();
try { Oracle.ManagedDataAccess.Client.OracleConnection connObj = new Oracle.ManagedDataAccess.Client.OracleConnection(); //OracleConnection objConn = new OracleConnection(); connObj.ConnectionString = "Data Source=" + Constants.DataSource + "; User ID=" + Constants.UserId + "; Password=" + Constants.Password; Oracle.ManagedDataAccess.Client.OracleCommand cmdObj = new Oracle.ManagedDataAccess.Client.OracleCommand("GetXSLT", connObj); cmdObj.CommandType = CommandType.StoredProcedure; cmdObj.Parameters.Add("XSLTName", Oracle.ManagedDataAccess.Client.OracleDbType.Varchar2).Value = xsltName; cmdObj.Parameters.Add("ReqXSLT", Oracle.ManagedDataAccess.Client.OracleDbType.XmlType).Direction = ParameterDirection.Output; connObj.Open(); cmdObj.ExecuteNonQuery(); What I have tried: I have replaced the "Oracle.DataAccess.dll" in my visual studio with "Oracle.ManagedDataAccess.dll" 4.121.2.0 and the build was successful.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)