How do I enable database caching when manually using the EWL data layer?


#1

Hey, when I’m using the EWL data layer manually in an MVC application, how do I turn on database caching?


#2
DataAccessState.Current.ExecuteWithCache( () => {
    // your code goes here
} );

#3

Alright that’s shockingly simple.