We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Interface IDatabaseClient should implement IDisposable because its implementation, DatabaseWrapper, is disposable:
internal class DatabaseWrapper : IDatabaseClient, IDisposable
Currently I cannot use using statement since IDatabaseClient returned from await DatabaseClient.Create(...) is not disposable.
using
await DatabaseClient.Create(...)
The only thing what I can do is
var dbClient = await DatabaseClient.Create(); try { await dbClient.Execute(...); } finally { ((IDisposable)dbClient).Dispose(); }
The text was updated successfully, but these errors were encountered:
Fixed in #30
Sorry, something went wrong.
No branches or pull requests
Interface IDatabaseClient should implement IDisposable because its implementation, DatabaseWrapper, is disposable:
Currently I cannot use
using
statement since IDatabaseClient returned fromawait DatabaseClient.Create(...)
is not disposable.The only thing what I can do is
The text was updated successfully, but these errors were encountered: