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