Is connection pooling working correctly in Subsonic?

后端 未结 4 1419
粉色の甜心
粉色の甜心 2021-01-23 20:52

I am getting reports that connection pooling is not working in the Subsonic orm when used with sql server on a remote machine. I\'m not sure how they are monitoring this, maybe

4条回答
  •  余生分开走
    2021-01-23 20:55

    There is a way for a connection to remain open when using SubSonic. Many people assume that when you load a collection the reader will be closed for you - but it's not (a class should never act on another class without permission). There is a method called "LoadAndCloseReader()" just for this reason.

    If you could find out more that would be great.

提交回复
热议问题