SimpleMembership with custom database schema in ASP.NET MVC 4
问题 I want to enable the ASP.NET MVC 4's SimpleMembership API to integrate with my own database schema. I have a plain and simple table in my database called Users with these fields: Id Name Password Email IsDeleted I have already configured the SimpleMembership API to use my database: WebSecurity.InitializeDatabaseConnection("MyStuff", "Users", "Id", "Name", autoCreateTables: true); And I can insert a user too: WebSecurity.CreateUserAndAccount(model.UserName, model.Password, new { IsDeleted =