Hi!

I have just recently started working with LINQ and DBLINQ.

I have written a small program that loads data from a mysql database.
The issue I have is that once I have loaded data into my generated
table objects and try to load them again, I get old data.
I make changes to the database from another program after I have first
loaded the dblinq objects.
Note that I have one Datacontext object in my app which is alive the
whole time. If I use locally created datacontext object then it loads
the data correctly.

Is there some kind of caching of data? The program actually asks the
database (I monitor a query log file) but once it finds data it has
previously loaded it show the old data anyways.

I have set QueryCacheEnabled to false but no difference.

Note that I use SVN code from 26th september and have compiled for
mysql etc and generate my classes with dbmetal.

I have example code I can email or add here if needed. I call Load and
save from a Form app but I think you can get the idea at least.

Am I missing something? Please let me know.

/Kind regards Peter Johansson , Sweden



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to