"PS: you'll probably need the code (class+mapping) to give me any real
help"
your right...

"can I post them here?"
yes you can....

"how?"
copy and paste.

On Sep 14, 12:04 pm, Lorenzo Vegetti <[email protected]> wrote:
> Hi everyone,
> I'm quite new with NHibernate, I'm working on the data layer of a
> winform application using NHibernate and I'm writing mapping using
> Fluent NHibernnate.
> I've an object I can save, but can't retrieve: when I try to read it I
> get a PropertyAccessException.
>
> I dived in NHibernate code for the first time ever and I've followed
> the code until I reached the method SetPropertyValues in
> NHibernate.Bytecode.Lightweight.AccessOptimizer.
> This simply calls the setDelegate given in the constructor with these
> params:
> 1. an instance of the incriminated type called ProductQuotation (21
> mapped properties/collections)
> 2. an object array (having Length = 20)
> 3. its own OnSetterCallback
> The call raises an InvalidCastException, but I can't figure out which
> property is the source of the problem.
>
> Thanks!
>
> Lorenzo
>
> PS: you'll probably need the code (class+mapping) to give me any real
> help, can I post them here? how?

-- 
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