This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
we're trying to track down some weird sql generated by LS from our model after some changes. we only noticed it via a sql trace which showed a whole lot of additional sql being generated. i've written a custom logger which i'm using to assert the number of sql batches/queries being emitted from the unitofwork but it would be a lot easier if you exposed these via the CommandLog. (not to mention a little safer as I'm tying my statementcount to a LS implementation details by tracking statements via terminating commas) cheers justin eg
|
|
|
As far as I know, a CommandLog object always represents exactly one batch. (It represents one IDbCommand, which is effectively what a batch is.) So there's no point adding a BatchCount property. I'll see if we can capture the statement count, but it's a bit tricky with our current architecture, so no promises. |
|