Hello all,
Is there anyway for NHibernate to throw an error if it finds more
items in the dictionary than it has properties in its dynamic-
component element.
like say
<dynamic-component name="Test">
<property name = "testproperty1" type="string" />
<property name = "testproperty2" type = "string" />
</dynamic-component>
say my dictionary now has three items
dictionary.Add("testproperty1","testproperty1")
dictionary.Add("testproperty2","testproperty2")
dictionary.Add("testproperty3","testproperty3")
NHibernate will ignore "testproperty3" in the dictionary, but if there
any way for it to raise an error instead of storing it
--
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.