Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB_Test does not call dispose on any SqlConnections or SqlCommands #65

Open
jonreis opened this issue May 22, 2023 · 1 comment
Open

Comments

@jonreis
Copy link

jonreis commented May 22, 2023

It would be nice if this code used proper patterns for creating/disposing SqlConnections and SqlCommands.

@Malcolm-Stewart
Copy link
Contributor

That is not required. The Close method gets rid of any native handles. GC will take care of the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants