I would map those just like everything else. In fact, Fabio wrote a post on mapping that with ConfORM, so it's basically done: http://fabiomaulo.blogspot.com/ BTW, you don't need to use ConfORM if you don't want to: just copy the code from the post and generate hbm files from there.
Diego On Tue, Mar 23, 2010 at 14:47, Mike <[email protected]> wrote: > I am trying to incorporate my user domain object with the ASP.NET > Membership Tables. Instead of mapping objects for my membership > tables, I just want to create a view that joins the fields I want, > then mark them to not update or insert in NHibernate. Sound > reasonable? > > Thanks for your help! > > On Mar 23, 12:16 pm, Diego Mijelshon <[email protected]> wrote: > > Yes, have a look athttp://nhforge.org/doc/nh/en/index.html#querysql-cud > > andhttp://nhforge.org/doc/nh/en/index.html#querysql-load > > <http://nhforge.org/doc/nh/en/index.html#querysql-load>However, it would > be > > interesting to know WHY do you want to do this... > > > > Diego > > > > > > > > On Tue, Mar 23, 2010 at 12:04, Mike <[email protected]> wrote: > > > Hello, > > > I'm trying to set up my NHibernate 2.1 mapping file so my class can > > > retrieve data from a view, but then update back to the table. Does > > > anybody have an example on how to make this work? Thanks!! > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "nhusers" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<nhusers%[email protected]> > <nhusers%[email protected]<nhusers%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/nhusers?hl=en.- Hide quoted text - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
