Timeout for OracleDataReader.Read Method
The ODP.NET OracleCommand class has a CommandTimeout property that can be used to enforce a timeout for the execution of a command. This property seems to work in situations where the CommandText is a SQL statement. The example code is used to illustrate this property in action. In the initial version of the code, the CommandTimeout is set to zero - telling ODP.NET not to enforce a timeout. using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using System.Text; using Oracle.DataAccess.Client; namespace ConsoleApplication3 { class