I have an ActiveRecord class, let's call it MyClass, that's set Lazy=true at the class level. When I call ActiveRecordMediator<MyClass>.FindByPrimaryKey(0), I get back a MyClass proxy object (since id 0 doesn't exist). I guess I would expect to get a null but I can see why I get a proxy. My question is how the heck do I check if that record actually existed? Right now, as soon as I access any property on the returned proxy object, I get an ObjectNotFoundException.
Help! tim -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/castle-project-users/-/f0QEP7Rp3PoJ. 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/castle-project-users?hl=en.
