Login Skip Navigation LinksWilsonORMapper > Forums Search
Demo Version Demo Version
Download and try for yourself a fully working demo version, including sample apps and documentation.  The only limitation is that the demo version only works inside the debugger.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson ORMapper Forums Wilson ORMapper Forums : Advanced Topics : Reading xml output

Date Post
5/30/2007 8:42:42 AM

 

Hi,

I would need to read an xml output generated by a select statement with the option 'for xml explicit'

I heard about the truncation to 2034 characters problem using executescalar:

more info about the issue can be found at:

http://aspnetresources.com/blog/executescalar_truncates_xml.aspx

How can I achieve thais reading with Wilson OR mapper?

Thanks to you and best regards.

Andrea Pierini.

5/30/2007 7:11:40 PM

Hi Andrea:

I think the correct answer is the same for most (if not all) O/R Mappers.  That answer is that you simply step outside of the O/RM and use ADO.NET instead.  My O/RM tries to put the most common features into the O/RM API so that you can use it as a general purpose DAL as well as an O/RM in most cases.  But there are certainly going to be cases where you have to resort to ADO.NET -- and there's nothing wrong with that when it makes sense.

Thanks, Paul Wilson