Diego,

On Mon, Aug 16, 2010 at 11:07 PM, Diego Mijelshon <[email protected]>wrote:

 There are TWO errors there. First, you have to use Reference (many-to-one
>> in xml) for many-to-one relationships, and the property is not virtual.
>>
>>> Without the test, building the session factory will fail at runtime. What
>>> did FNH do for me here? Nothing that the xsd wouldn't have done.
>>>
>>
>> FNH at least makes sure you have the word "Reference" correct for the
>> xml.  It's a small thing, i know, but kinda important, wouldn't you agree.
>> Again, pardon my ignorance, but I didn't know NH provided an out-of-the-box
>> xsd that could that kind of checking, making sure my property and class
>> names were right, for my model.  Could you point me to that xsd for my
>> current project?
>>
>
> Um... it's part of the default download... right there... in the
> "Required_Bins" folder.
>


I know that's where the NH xsd is, but i don't think that's going to
validate the name of my classes or properties, will it?  That's what i was
talking about and that's what FNH could stick in the xml for you and keep
updated for you.  the xsd won't help in this regards

-- 
thanks

cliff

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