I'm creating an ASP.NET MVC 4 web site, and with the default project template it auto-generates some tables in my database for membership. For example:
etc.
Because I may be wanting to use a single database for more than one website, I would like to replace the "webpages_" prefix with something specific to this website, but I can't find where this is configured. How can I change this in an ASP.NET MVC 4?
No, not really. The table names are hard coded in the SimpleMembershipProvider.
You could go get the source, modify the names, and use your own version if you wanted. The source is here:
http://aspnetwebstack.codeplex.com/SourceControl/changeset/view/e0115a823029#src%2fWebMatrix.WebData%2fSimpleMembershipProvider.cs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With