Nham... =/

Ok...thanks for the answer, and for the workaround too! =)
 Marco Antonio
http://www.paperscrap.com.br/
twitter: @marcoaoteixeira




________________________________
De: Mauricio Scheffer <[email protected]>
Para: Castle Project Users <[email protected]>
Enviadas: Terça-feira, 11 de Maio de 2010 20:23:51
Assunto: Re: Change HBM files location

Nope, that's currently hardcoded:
http://github.com/castleproject/Castle.ActiveRecord/blob/master/src/Castle.ActiveRecord/Framework/Internal/Visitors/XmlGenerationVisitor.cs#L57

However you could call XmlGenerationVisitor.VisitModel() on your
model(s), then extract the generated XML through the Xml property of
XmlGenerationVisitor and write that anywhere you want.

--
Mauricio

On May 11, 6:04 pm, Marco Antonio <[email protected]>
wrote:
> Hi all!
>
> I wonder if there is any way to specify where AR should create
> the .hbm files. Normally it creates at the root of the application, is
> there any way to change this behavior?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" 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 
> athttp://groups.google.com/group/castle-project-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.


      

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to