Cursor - Close or Dispose?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Giles_Collingwood
Posts: 15
Joined: Mon 28 Feb 2005 13:58
Location: London, UK

Cursor - Close or Dispose?

Post by Giles_Collingwood » Thu 30 Jun 2005 14:52

Hi,

When using an OracleCursor, should I call both .Close and then .Dispose?

Giles

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 04 Jul 2005 12:26

Dispose will call Close method inside. It is necessary to call Dispose only.

Post Reply