lots of OpenConnection() not optimal for use with Sql Ce #30

Closed
joeriks opened this Issue Mar 31, 2011 · 1 comment

Comments

Projects
None yet
2 participants

joeriks commented Mar 31, 2011

OpenConnection() is called quite a lot from Massive, that's not very good if you're using it with a sql ce db since each openconnection is quite costly. ~100 ms on my pc. I don't know how to deal with this the best way really. For now I changed it to keep the connection open.

Contributor

robconery commented Apr 29, 2011

If you're worried about milliseconds using SQL CE is probably the wrong idea. Either way there's an override now to pass in an open connection if you like.

robconery closed this Apr 29, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment