Asp NET 会员资格与 MySql。扩展 my_aspnet_applications 表

发布于 2024-12-23 02:28:05 字数 346 浏览 3 评论 0原文

我将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖上的星空 2024-12-30 02:28:05

您应该查看: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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文