.NET 4.5普遍成员提供的表名 [英] .NET 4.5 Universal Membership Provider table names

查看:205
本文介绍了.NET 4.5普遍成员提供的表名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么办法preFIX在数据库中的新的.NET 4.5 De​​faultMembershipProvider表名?他们曾经被命名为aspnet_Users,aspnet_Roles等,以及它们现在被命名为只是用户,角色等,这是相互矛盾与具有表用户我的应用模式。

Is there any way to prefix the new .NET 4.5 DefaultMembershipProvider table names in the database? They used to be named aspnet_Users, aspnet_Roles etc. and they are now named just Users, Roles, etc. which is conflicting with my application schema that has a table User.

是使用一个单独的数据库中的成员资格,如果我想使用新的通用提供商和避免这种命名问题,我唯一的选择?

Is my only option to use a separate database for membership if I want to use the new universal providers and avoid this naming issue?

推荐答案

不幸的是没有办法目前自定义表名称为通用供应商,我会确保我们在未来考虑加入支持这一点。

Unfortunately there is no way to customize the table names for the Universal Providers currently, I'll make sure we consider adding support for this in the future.

这篇关于.NET 4.5普遍成员提供的表名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆