Re: [DOTNET] Encapsulating Data access

2002-04-18 Thread IVAN TOWLSON
g to worry about it. Regards, -- Ivan Towlson Thales Contact Solutions -Original Message- From: john best [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 21:19 To: [EMAIL PROTECTED] Subject: [DOTNET] Encapsulating Data access Hi all, I am trying to encapsulate data access. I want

[DOTNET] Encapsulating Data access

2002-04-18 Thread john best
Hi all, I am trying to encapsulate data access. I want to make a function that returns a data reader. If I then close that data reader will it close the command object that was used to open it. (I know it will close the connection) Here is some code showing what I mean --- Function GetDat