2 writes to _dsElement
System.Data.Common (2)
System\Data\xmlsaver.cs (2)
551_dsElement = xd.CreateElement(Keywords.XSD_PREFIX, Keywords.XSD_ELEMENT, Keywords.XSDNS); 945_dsElement = xd.CreateElement(Keywords.XSD_PREFIX, Keywords.XSD_ELEMENT, Keywords.XSDNS);
29 references to _dsElement
System.Data.Common (29)
System\Data\xmlsaver.cs (29)
668rootSchema.AppendChild(_dsElement); 669AddXdoProperties(_ds, _dsElement); 670AddExtendedProperties(ds!._extendedProperties, _dsElement); 687_dsElement.AppendChild(_constraintSeparator); 691AddXdoProperties(_ds, _dsElement); 692AddExtendedProperties(_ds._extendedProperties, _dsElement); 759_dsElement.RemoveChild(_constraintSeparator); 760rootSchema.AppendChild(_dsElement); 965_dsElement.AppendChild(_constraintSeparator); 1010_dsElement.RemoveChild(_constraintSeparator); 1011rootSchema.AppendChild(_dsElement); 1019Debug.Assert(_dsElement != null); 1024_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(dataSet.DataSetName)); 1025_dsElement.SetAttribute(Keywords.MSD_ISDATASET, Keywords.MSDNS, Keywords.TRUE); 1027_dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.EncodeLocalName(((dt!.Namespace.Length == 0) ? dt.TableName : (dt.Namespace + ":" + dt.TableName)))); 1032_dsElement.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, Keywords.TRUE); 1036_dsElement.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, dataSet.Locale.ToString()); 1040_dsElement.SetAttribute(Keywords.MSD_USECURRENTLOCALE, Keywords.MSDNS, Keywords.TRUE); 1047_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName("NewDataSet")); 1048_dsElement.SetAttribute(Keywords.MSD_ISDATASET, Keywords.MSDNS, Keywords.TRUE); 1049_dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.EncodeLocalName(((dt.Namespace.Length == 0) ? dt.TableName : (dt.Namespace + ":" + dt.TableName)))); 1054_dsElement.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, Keywords.TRUE); 1058_dsElement.SetAttribute(Keywords.MSD_LOCALE, Keywords.MSDNS, dt.Locale.ToString()); 1062_dsElement.SetAttribute(Keywords.MSD_USECURRENTLOCALE, Keywords.MSDNS, Keywords.TRUE); 1068_dsElement.AppendChild(type); 1731Debug.Assert(_dsElement != null); 2065_dsElement.InsertBefore(constraint, _constraintSeparator); 2133_dsElement.InsertBefore(constraint, _constraintSeparator); 2217_dsElement.InsertAfter(constraint, _constraintSeparator);