We have just released a sample that shows how to extend Entity Framework in interesting ways by plugging into ADO.NET provider interface. The sample provides two extensions:
- EFTracingProvider – which adds the ability to log all SQL commands that are executed (similar to LINQ to SQL’s DataContext.Log
- EFCachingProvider – which adds transparent query results cache to EF
The sample comes with implementation of distributed cache which uses Velocity CTP 3 as well as an adapter for ASP.NET and simple in-memory cache implementation. [...]
Tags: Caching, EFProviderWrappers, Entity Framework, Migrated Post, Providers
