Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要制作一个 asp.net MVC 2 c# webapp,每个租户都可以为一个类定义一些特殊字段。例如,在同一个应用程序中,一些用户会有“年龄”字段,其他用户会有其他字段,不一定是“年龄”。最好的方法是什么?有任何博客/教程/书籍有这方面的例子吗?
谢谢!
正如我在您的其他类似问题中评论的那样,您可以使用 List 或 Array 对象来存储动态属性。它们是可序列化的,并将持久保存到 TableStorage。
请参阅http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/f57cb566-cc7a-4b31-b1ab-47b6d16604af/