MySQL and SQL Membership Provider : Can it be set to not use ints?
I'm setting up a new .NET MVC3 site and decided to use MySQL instead of MSSQL (mainly because I'm poor and hosting MSSQL based sites is getting expen开发者_运维知识库sive).
I was planning on using the SQL Membership Provider and with a bit of fiddling got it all hooked up. I can create users, browse around etc. That is, until I tried getting the logged in users GUID. Looking at the users table, it appears that the users are stored only with an INT, not a GUID.
Is there a way to force the MySQL provider (or would it be the .NET connector...) to use a GUID instead of an INT?
Take a look at Custom Membership User and Customize CreateUserWizard Control
精彩评论