XML support in ADO.NET

  • Thread starter Thread starter Kerry Reynolds
  • Start date Start date
K

Kerry Reynolds

I've got a dataset with <xs:restriction> tags, custom elements and
other stuff in it. I want to populate it using a dataadapter and data
from SQL but it ignores the schema/tags.

Apparently this is due to the way ado.net works with XML. To do it I
have to revalidate the xml data using the XMLValidatingReader class,
which then gives me a performance overhead and is a right programming
pain.

Does anyone know if Microsoft has plans to provide more complete
support for xml documents in ADO.NET in a future release?
 
Hi Kerry,

I think it is not XML but the SQL database the design has not changed for a
long time.

SQL databases allow only a straight relation database and therefore the XML
dataset can never been more complex than that database.

Just my opinion.

Cor
 
Back
Top