views:

237

answers:

2

Can Castle ActiveRecord write to XML document? Any links to sample code?

+1  A: 

Castle ActiveRecord is using NHibernate underneath. As far as I know, there is no XML-database driver for NHibernate.

So, answering your question - no, currently Castle ActiveRecord can't do this. If somebody writes a driver for XML file database - it could. Not a trivial task. I wonder if it is possible at all...

Michał Chaniewski
+1  A: 

You might want to try this OLE DB Provider for XML, but I wouldn't count on it supporting all of NHibernate features and it will be limited in the schemas it can understand. Plus, you'd have to play a bit with dialect settings to see which one fits best.

Mauricio Scheffer

related questions