EFCache
EFCache copied to clipboard
Feature allow changing caching strategy
Motivation:
- I'm using Easycaching.Redis as caching provider, and I'm getting the error in CachingReader class when trying to cast a DBNull value into a primitive type like string.
- I want to change the CachedResult type into a more json/messagepack serializer friendly class.
- I want to try using DataTable.CreateDataReader as the data reader instead of CachingReader.
I've tried to be backwards compatible. Request you to accept this PR or provide any comments on improvement.
Thank you for creating this library. I'm open to contribute a small amount if you're okay with it.