Anyone using ASP.NET MembershipProvider with Nhibernate?
Posted
by JLago
on Stack Overflow
See other posts from Stack Overflow
or by JLago
Published on 2010-05-19T09:53:31Z
Indexed on
2010/05/19
14:00 UTC
Read the original article
Hit count: 270
Hi, I'm trying to implement Membership controls in a mvc 2 application and i'm having trouble dealing with the MembershipUser class.
I have my own data store (in Postgresql) and I'm using Nhibernate to deal with it from C#. The thing is, I have my own user class, but I can't use it with any provider I found that implements Membership, because all the functions return the predefined MembershipUser class and cannot return my own.
I'm losing my mind here, is there any way i can work with this, or should I implement everything myself?
thanks in advance!
© Stack Overflow or respective owner