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)
668
rootSchema.AppendChild(
_dsElement
);
669
AddXdoProperties(_ds,
_dsElement
);
670
AddExtendedProperties(ds!._extendedProperties,
_dsElement
);
687
_dsElement
.AppendChild(_constraintSeparator);
691
AddXdoProperties(_ds,
_dsElement
);
692
AddExtendedProperties(_ds._extendedProperties,
_dsElement
);
759
_dsElement
.RemoveChild(_constraintSeparator);
760
rootSchema.AppendChild(
_dsElement
);
965
_dsElement
.AppendChild(_constraintSeparator);
1010
_dsElement
.RemoveChild(_constraintSeparator);
1011
rootSchema.AppendChild(
_dsElement
);
1019
Debug.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);
1731
Debug.Assert(
_dsElement
!= null);
2065
_dsElement
.InsertBefore(constraint, _constraintSeparator);
2133
_dsElement
.InsertBefore(constraint, _constraintSeparator);
2217
_dsElement
.InsertAfter(constraint, _constraintSeparator);