How to create a simple provider

Sep 23, 2009 at 6:07 PM
Edited Sep 23, 2009 at 6:27 PM

Hi,

I'm having trouble following how to create a provider. I'd like to create a provider that is built on top of http://enyimmemcached.codeplex.com api. The client basically retuns IDictionary<string, object>. So, on the server, the objects are serialized. I guess I could do take that result and do something like result.Cast<MyType>().Where(k => k.PropertyA == "") and use it that way but that is already done after I queried. I'm trying to see how your toolkit can help in this regard. So instead of using that example, it would be nice to have something like memCachedContext.Linq<MyType>().Where(t => t.Property == "").SelectMany() and it would somehow query serialized objects on the server.  Just thinking outloud. The problem is that on the server, I may have millinions of objects without knowing their type because they're all serialized.