Hi all,
Is there any way to get the collection key name from the nhibernate
mapping api?
I explain, I need to obtain the key string name from collections which
was mapped. For now, I'm playing with the
Configuration.GetCollectionMapping(string role) API, through this, I can
access to the Key property but has not any property which give me the
"name" (string) of the key.
Of course, If I output
Configuration.GetCollectionMapping(role).Key.ToString() I get something
as
NHibernate.Mapping.DependantValue(NHibernate.Mapping.Column(THE-VALUE-I-AM-LOOKING-FOR)).
Is there any alternative to evict regular expression from the output
above to obtain the key name?
Best regards.
--
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.