Hello Friends
I am trying to override the CreateUser method for the default membership, because my User's table, is different from the default aspnet_Users table.
So I went ahead and added the missing columns to the aspnet_Users table to get it the way I want. Here is what it looks like right now:
The problem now is, new users can't register, because the CreateUser method doesn't take in parameters such as DOB, FName, LName ..etc So here I am trying to override that. But It is very confusing, here is what I have done so far:
public override MembershipUser CreateUser(string username, string fname, string lname, DateTime dob, bool gender, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
{
using (var Context = new ShudderDataContext())
...
Go to the complete details ...