string connectionString;
int connectionTimeout;
- OleDbDataReader dataReader;
IntPtr gdaConnection;
#endregion
gdaConnection = IntPtr.Zero;
connectionTimeout = 15;
connectionString = null;
- dataReader = null;
}
public OleDbConnection (string connectionString) : this ()
return gdaConnection;
}
}
-
- internal OleDbDataReader DataReader
- {
- get {
- return dataReader;
- }
- set {
- dataReader = value;
- }
- }
#endregion // Properties
libgda.gda_connection_close (gdaConnection);
gdaConnection = IntPtr.Zero;
}
-
- dataReader = null;
}
public OleDbCommand CreateCommand ()
{
- if (State == ConnectionState.Open &&
- DataReader == null)
+ if (State == ConnectionState.Open)
return new OleDbCommand (null, this);
return null;