NewsBot
1
I've got a class which has a relationship withMembershipUser (in a many-to-one relationship, my class hasMembershipUser has a field/property):
class Foo {
*** private MembershipUser _user;
*** public MembershipUser User {
*** ** get { return _user; }
*** ** set { _user = user; }
*** }
}
Yet NHibernate wants almost total control when you use elements in your class mapping file.
***
***
*** ***
*** ***
*** *** ***
*** ***
*** ***
*** ***
*** ***
***
The MembershipUser instances are managed by the MembershipProvider (I'm using SqlMembershipProvider) and not NHibernate.
...so how can I include MembershipUsers in my mapping and getNHibernate only to ensure the relationship keys are persisted and notthe MembershipUser class itself?
More...
View All Our Microsft Related Feeds
class Foo {
*** private MembershipUser _user;
*** public MembershipUser User {
*** ** get { return _user; }
*** ** set { _user = user; }
*** }
}
Yet NHibernate wants almost total control when you use elements in your class mapping file.
***
***
*** ***
*** ***
*** *** ***
*** ***
*** ***
*** ***
*** ***
***
The MembershipUser instances are managed by the MembershipProvider (I'm using SqlMembershipProvider) and not NHibernate.
...so how can I include MembershipUsers in my mapping and getNHibernate only to ensure the relationship keys are persisted and notthe MembershipUser class itself?
More...
View All Our Microsft Related Feeds