I have a class with an IDictionary. The size of this object isn't fix to any particular size. The idea with this is to have a Dynamic Schema of my object. I want to store this object in the TableStorage. How can I do this? And how can I retrieve this information from store after this inside my object with the IDictionary again??
Thanks!!
You can use the Read and Write events from the TableStorageContext to perform this. You need to store the IDictionary content in other Field or as a BLOB file. In the Read event you create the IDictionary from the given field or retrive directly from the BLOB file. In the Write event you store the IDictionary to the field or as a BLOB file.
Important: The Write event occurs after the Entity traslation step then if you choose the field way you may need to write your changes directly to the XML serialization of the entity.
THIS sounds hard but is very useful in many scenarios