Asp NET 会员资格与 MySql。扩展 my_aspnet_applications 表
我将 MySQL 与 ASPNET 和成员资格(包括实体框架)一起使用,也使用 autogenerateschema=true ,没有问题。 目前,我们正处于向 my_asp_applications 表添加 5 或 6 个应用程序的阶段,我想知道是否可以用 2 到 3 列来扩展该表,例如:“domain_name”、“isActive”等。
在不久的将来升级连接器时可能会出现问题,或者不知道?如果 MVC 4 发布时添加新的会员内容,它会崩溃吗?它应该像这样使用并扩展,或者创建另一个表会更安全?
我读了很多关于修改用户表的内容,这似乎可以使用配置文件,但我对 my_asp_applications 表感兴趣。
提前致谢。
I'm using MySQL with ASPNET and Membership (including Entity Framework), also with autogenerateschema=true with no problem.
Currently we are in a stage where we are adding like 5 or 6 applications to my_asp_applications table and I'm wondering if I can extend this table with 2 o 3 more columns, like : "domain_name", "isActive", and some more.
Could be a problem when upgrading connector or dunno, somewhere in the near future? Will it crash if new membership stuff is added on MVC 4 when it's released? It is supposed to be used like that and extend or will be more safe to create another table?
I read a lot about modifying users table which seems ok to use profiles but I'm interested on the my_asp_applications table.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该查看:Microsoft ASP.NET 2.0 提供程序:简介
aspnet_Applications 表在提供者之间共享(成员身份、角色……)。
我不会直接修改该表,而是使用另一个表并在那里存储您的附加信息。
You should review: Microsoft ASP.NET 2.0 Providers: Introduction
The aspnet_Applications table is shared between providers (membership, roles,...).
I would not modify that table directly, but instead use another table and store your additional information there.