Azure Table–Entities having different Schema (Implementation Approach)

Posted by kaleidoscope on Geeks with Blogs See other posts from Geeks with Blogs or by kaleidoscope
Published on Thu, 09 Dec 2010 10:03:04 GMT Indexed on 2010/12/09 22:14 UTC
Read the original article Hit count: 182

Filed under:

Below is the approach that can be implemented whenever there is a requirement of creating an Azure Table having entities with different schema definitions.

 image

We can have a Parent Entity defined which will hold the data common in all the entity types and then rest all entities should inherit from this parent class.

There will be only on DataServiceContext class which will accept the object of the Parent class and this can be used for CRUD operations of all the entities.

Hope this approach helps!

Thanks.


Technorati Tags: ,

© Geeks with Blogs or respective owner