I'm using this approch for setting up a proxy for my classes
http://ayende.com/Blog/archive/2009/08/07/nhibernate-amp-inotifypropertychanged.aspx
But when I try to fetch my object like below I get No persister for:
HomeProxy8f8bb4eee37c48b8acd6adb67ccd0240 exception because T is a
proxy. How can I solve this?
public ActionResult Index() {
var page =_repository.Get<T>(71);
return View(new ViewModel(page));
}
--
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.