C.1. Excluding Information

Not all attributes present in an XML document should be included in the inference process. Namespace-qualified attributes may include metadata that is important for the XML document but not for the DataSet schema. Using DataSet.InferXmlSchema, you can set specific namespaces to be ignored during the inference process. For more information, see Loading DataSet Schema Information from XML.

Get Essential ADO.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.