2 writes to dsElement
System.Data (2)
fx\src\data\System\Data\xmlsaver.cs (2)
472dsElement = xd.CreateElement(Keywords.XSD_PREFIX, Keywords.XSD_ELEMENT, Keywords.XSDNS); 802dsElement = xd.CreateElement(Keywords.XSD_PREFIX, Keywords.XSD_ELEMENT, Keywords.XSDNS);
27 references to dsElement
System.Data (27)
fx\src\data\System\Data\xmlsaver.cs (27)
570rootSchema.AppendChild(dsElement); 571AddXdoProperties(_ds, dsElement, xd ); 572AddExtendedProperties(ds.extendedProperties, dsElement); 589dsElement.AppendChild(constraintSeparator); 592AddXdoProperties(_ds, dsElement, xd ); 593AddExtendedProperties(_ds.extendedProperties, dsElement); 649dsElement.RemoveChild(constraintSeparator); 650rootSchema.AppendChild(dsElement); 821dsElement.AppendChild(constraintSeparator); 859dsElement.RemoveChild(constraintSeparator); 860rootSchema.AppendChild(dsElement); 868dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(dataSet.DataSetName)); 869dsElement.SetAttribute(Keywords.MSD_ISDATASET, Keywords.MSDNS, Keywords.TRUE); 871dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.EncodeLocalName(((dt.Namespace.Length == 0)?dt.TableName : (dt.Namespace + ":" + dt.TableName)))); 875dsElement.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, Keywords.TRUE); 878dsElement.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, dataSet.Locale.ToString()); 881dsElement.SetAttribute(Keywords.MSD_USECURRENTLOCALE, Keywords.MSDNS, Keywords.TRUE); 886dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName("NewDataSet")); 887dsElement.SetAttribute(Keywords.MSD_ISDATASET, Keywords.MSDNS, Keywords.TRUE); 888dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.EncodeLocalName(((dt.Namespace.Length == 0)?dt.TableName : (dt.Namespace + ":" + dt.TableName)))); 891dsElement.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, Keywords.TRUE); 894dsElement.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, dt.Locale.ToString()); 897dsElement.SetAttribute(Keywords.MSD_USECURRENTLOCALE, Keywords.MSDNS, Keywords.TRUE); 903dsElement.AppendChild(type); 1776dsElement.InsertBefore(constraint, constraintSeparator); 1835dsElement.InsertBefore(constraint, constraintSeparator); 1909dsElement.InsertAfter(constraint, constraintSeparator);