diff --git a/src/Data.Xml/XmlIO/Write/XmlInsert.cs b/src/Data.Xml/XmlIO/Write/XmlInsert.cs index 557a914..c27d04d 100644 --- a/src/Data.Xml/XmlIO/Write/XmlInsert.cs +++ b/src/Data.Xml/XmlIO/Write/XmlInsert.cs @@ -9,6 +9,9 @@ public XmlInsert(Common.FileStatements.FileInsert fileStatement, FileConnection< { } + // Always true: XML schema may or may not come from an XSD file, but the property + // doesn't have table context to check. RealizeSchema handles this by returning early + // when columns are already defined (e.g. from XSD or CREATE TABLE). public override bool SchemaUnknownWithoutData => true; protected override void RealizeSchema(DataTable dataTable)