Hi,
I have just downloaded version 5.00.20. It state's that it's possible to Force SQL caching for all queries in the Entity Framework.
But I can't find in the documentation how to turn this on.
Can you show this with a code example?
Thanks,
Jeroen
How to use Forced SQL caching for all queries
Use code like the following:
Code: Select all
Devart.Data.Oracle.Entity.OracleEntityProviderServices.CachedCommands = true;
using (Entities db = new Entities()) {
DEPT d = (from dept in db.DEPT
select dept).First();
}