19 references to NAME
System.Data.Common (19)
System\Data\SimpleType.cs (1)
235typeNode.SetAttribute(Keywords.NAME, _name);
System\Data\XDRSchema.cs (4)
36_schemaName = schemaRoot.GetAttribute(Keywords.NAME); 102if (vn is XmlElement && ((XmlElement)vn).GetAttribute(Keywords.NAME) == strType) 326instanceName = node.GetAttribute(Keywords.NAME); 329throw ExceptionBuilder.MissingAttribute("Element", Keywords.NAME);
System\Data\xmlsaver.cs (12)
1022_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(dataSet.DataSetName)); 1045_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName("NewDataSet")); 1152root.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(rel.RelationName)); 1207if (n is XmlElement e && e.GetAttribute(Keywords.NAME) == name) 1429root.SetAttribute(Keywords.NAME, col.EncodedColumnName); 1562if (FindTypeNode(schNode, el.GetAttribute(Keywords.NAME)) == null) 1583if (child.GetAttribute(Keywords.NAME) == strType) 1731root.SetAttribute(Keywords.NAME, table.EncodedTableName); 1841type.SetAttribute(Keywords.NAME, table.TypeName.Name); 2005constraint.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(unique.SchemaName)); 2082constraint.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(foreign.SchemaName)); 2128constraint.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(foreign.SchemaName));
System\Data\XMLSchema.cs (2)
442strName = XmlConvert.DecodeName(node.GetAttribute(Keywords.NAME)); 1387throw ExceptionBuilder.MissingAttribute(Keywords.NAME);