web api odata v4 add EdmEntityObject / EdmEntityObjectCollection into service stack redis cache

93 views
Skip to first unread message

Navaneeth Rao

unread,
Feb 20, 2015, 6:02:29 AM2/20/15
to servic...@googlegroups.com
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.
Redis error.tif
Reply all
Reply to author
Forward
0 new messages