如何更改SimpleMembershippRovider的表名



是否可以在创建时间中使用其他字段更改默认表(userProfile,webpages_membership等...)名称?

如果可能我该怎么做?

不,不是。表名称在Simplemershipprovider中进行了硬编码。

您可以获取源,修改名称,并在需要时使用自己的版本。来源在这里:

http://aspnetwebstack.codeplex.com/sourcecontrol/changeset/e0115a823029#src/webmatrix.webdata/simemmbershipprovider.cs

在这里由Mystere Man回答

相关内容

  • 没有找到相关文章

最新更新