Thanks for your reply, but could you clarify a bit further? Do you mean that persisted XML (say: a local XML file) can be queried using Linq2XML (but that's part of .NET) and not with NH?

Let me rephrase a bit: if I were to use NHibernate for connecting through Web Services (WSDL) to a data repository, is this possible and if so, what should I do to make it possible (even if that requires creating a new IDriver implementation)?

Thanks,
Abel Braaksma


On 7-9-2010 18:09, Fabio Maulo wrote:
There was no request for that feature. It is available in Hibernate where HQL and Criteria are used even to query objects persisted in XML (then somebody called it Linq2Xml in .NET)

On Tue, Sep 7, 2010 at 9:09 AM, Abel Braaksma <[email protected] <mailto:[email protected]>> wrote:

    Dear List,

    In NHibernate 2.1 it seems to be possible to query XML, as
    described in this thread:
    
http://groups.google.com/group/nhusers/browse_thread/thread/2c08ad622a30589a/e3cdbfb11ef9bfcf?lnk=gst&q=driver#e3cdbfb11ef9bfcf
    
<http://groups.google.com/group/nhusers/browse_thread/thread/2c08ad622a30589a/e3cdbfb11ef9bfcf?lnk=gst&q=driver#e3cdbfb11ef9bfcf>

    I was wondering if we can take this one step further and create a
    Driver (and a Dialect?) that can do CRUD or more for Microsoft
    CRM's FetchXML (see
    http://msdn.microsoft.com/en-us/library/ms936575.aspx) or any
    other data source that's available only through Web Services. I
    can think of quite some scenario's where this can be useful.

    Would this be possible using some standard magic, should we create
    such a driver, or is this something NHibernate should not be used for?


--
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.

Reply via email to