-
-
Notifications
You must be signed in to change notification settings - Fork 519
Closed
Description
Memory/ dbconnection leak when using QueryFactory. Why is QueryFactory disposable when passing the bConnection, I
understand if the passing the connection string, but when passing the connection, the owner of the connection should be responsible for passing it, no?
On the document i see an example:
https://sqlkata.com/docs/execution/fetching-records
var db = new QueryFactory(connection, new SqlServerCompiler());
Are we sure the current implementation is correct? Or should the documentation be corrected?
I made a PR to add using statements to the doco.
Don't know what to do about the query factory
Metadata
Metadata
Assignees
Labels
No labels