Hi,

Sorry, but NHMA was designed to map classes, so it doesn't support
mapping that are at the <hibernate-mapping /> level.

What I would suggest is to create an xml file to hold all these global
mappings.
You can also cheat by using NHMA.RawXml: On the plus side, it will be
next to your class mapping, but on the down side, it will be a literal
string which is harder to read/write.

HTH,
Pierre Henri.

On Oct 30, 1:14 pm, Huw <[email protected]> wrote:
> Hi There,
>
> Is it possible to set up mappings using NHibernate.Mapping.Attributes
> to call a stored procedure? Please could you give me a code example?
> I'd rather avoid the jagged world of XML config files.
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" 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.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to