Linq to LLBLGen Pro, ServerMode and caching

Posts   
 
    
BaerlinEDV
User
Posts: 9
Joined: 02-Sep-2010
# Posted on: 02-Sep-2010 13:31:37   

Hello there,

we're running a multi-user environment with several tables that are permanently growing. One of those tables can recieve updates (new rows, edited rows) every few minutes, so we thought using Linq to LLBLGen Pro, together with the DevExpress' XtraGrid's ServerMode exactly fit our requirements, but noticed that rows are only fetched the first time they're addressed.

Is there a way to force the datasource to fetch rows everytime a row is accessed instead of caching already fetched rows? (Because we couldn't find one yet).

Thanks in advance, best regards Phil

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 02-Sep-2010 13:37:32   

llblgen pro doesn't cache query results, because we believe that that should be left to the application or the database. So if you see rows not being re-read, it's likely the controls you're using aren't re-issuing a fetch.

Frans Bouma | Lead developer LLBLGen Pro
BaerlinEDV
User
Posts: 9
Joined: 02-Sep-2010
# Posted on: 02-Sep-2010 13:45:42   

Wow, now that's a fast answer.

Thanks for pointing that out, so we were thinking into the wrong direction, sorry for that.