When adding a normal poco class to redis cache, it adds fine.
When adding edm entioty object / edm entity object collection to a redis cache, it throws the following error
Web Api Odata - Dynamic entity model
Should not explicitly define Product, Item classes.
Model is created only at runtime for each request using EdmModel, cannot use poco classes.
An unhandled exception of type 'System.StackOverflowException' occurred in Unknown Module.