开发者

Azure: Flexible schemas using TableStorage

开发者 https://www.devze.com 2023-01-27 21:07 出处:网络
I need to make an asp.net MVC 2 c# webapp where each tenant could define some special fields to a class. So for example, in the same app some users will have the field \"age\", other users will have o

I need to make an asp.net MVC 2 c# webapp where each tenant could define some special fields to a class. So for example, in the same app some users will have the field "age", other users will have other field and not necessarily "age". Which is the best way to do this? There is开发者_Python百科 any blog/tutorial/book with an example of this?

Thanks!


As I commented in your other similar question, you can use List or Array objects to store dynamic properties. They are serializable and will persist to TableStorage.


See http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/f57cb566-cc7a-4b31-b1ab-47b6d16604af/

0

精彩评论

暂无评论...
验证码 换一张
取 消