Call AddToStatementCache from OracleCommand

Posts   
 
    
YvesVD
User
Posts: 177
Joined: 19-Oct-2006
# Posted on: 16-Feb-2017 21:09:34   

Hi, I activated the statement cache from the config file. <setting name="StatementCacheSize" value="100" /> I don't want Oracle to recycle the cache when size is reached. That's why I want to limit the cache to only certain queries with property AddToStatementCache. Is there a way to extend the API (Fetch method with parameter bool addToStatementCache) to support that ?

Thanks in advance.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 17-Feb-2017 07:49:16   

Yes, you can extend the code in many ways. Please elaborate more with an example about what you are looking for.

David Elizondo | LLBLGen Support Team