Does LLBLGen Pro support connection pooling?

Posts   
 
    
Aglaia avatar
Aglaia
LLBLGen Pro Team
Posts: 535
Joined: 07-Sep-2003
# Posted on: 21-Aug-2007 14:03:11   

Question: Does LLBLGen Pro support connection pooling?

Solution: LLBLGen Pro's generated code and runtime libraries rely on ADO.NET's connection pooling, which is fully controllable through the connection string used. In the situation where you want to use full control over the connection object, you can use the Adapter templates which contain a DataAccessAdapter object which is used to connect and execute database actions and which offers full flexibility over the connection object inside that DataAccessAdapter object. For example you can keep open a connection to use it again in sequential executed database actions, for example the data retrieval actions in a Page_Load() routine of an ASP.NET webpage.