I have, and I'm covering all of the bases. Hence why I asked in an NHibernate forum if anyone had experienced strange behavior when using NHibernate.
On Sep 14, 9:33 am, Dario Quintana <[email protected]> wrote: > Hey Ryan, > > Raise the question in a Asp.Net Mvc forum, maybe they can help you. > > Cheers. > > > > On Mon, Sep 14, 2009 at 10:58 AM, Ryan Hartzog <[email protected]> wrote: > > > Thank you Dario. I forgot to mention that I created a ViewModel to > > use as well and that still was not binding. I must be missing > > something, I just don't get what it is. The ViewModel was a > > MyObjectViewModel with public Guid Id { get; set; }, public string > > Address1 { get; set; }. Doesn't get much more simple and yet the > > binding is just not working for me. > > > On Sep 14, 8:46 am, Dario Quintana <[email protected]> > > wrote: > > > I suggest use ViewModel as a bridge. > > > > View -> ViewModel -> Model (your persistent classes) > > > > On Mon, Sep 14, 2009 at 10:34 AM, rhartzog <[email protected]> wrote: > > > > > Has anyone had an issue with the auto model binding when using objects > > > > persisted with NHibernate? I commented my object down to a simple > > > > Guid Id field and string Address1 field and I still can't get auto > > > > model binding when accepting an object on the Post action method. I > > > > have tried [Bind(Prefix="")], Include, Exclude, etc. The only thing I > > > > can get to work is having to gather the values from the FormCollection > > > > which kind of sucks. Any suggestions would be greatly appreciated. > > > > -- > > > Dario Quintanahttp://darioquintana.com.ar > > -- > Dario Quintanahttp://darioquintana.com.ar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
