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 Quintana
http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to