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)
1024_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(dataSet.DataSetName)); 1047_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName("NewDataSet")); 1159root.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(rel.RelationName)); 1214if (n is XmlElement e && e.GetAttribute(Keywords.NAME) == name) 1437root.SetAttribute(Keywords.NAME, col.EncodedColumnName); 1570if (FindTypeNode(schNode, el.GetAttribute(Keywords.NAME)) == null) 1591if (child.GetAttribute(Keywords.NAME) == strType) 1741root.SetAttribute(Keywords.NAME, table.EncodedTableName); 1851type.SetAttribute(Keywords.NAME, table.TypeName.Name); 2015constraint.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(unique.SchemaName)); 2092constraint.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(foreign.SchemaName)); 2138constraint.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(foreign.SchemaName));
System\Data\XMLSchema.cs (2)
442strName = XmlConvert.DecodeName(node.GetAttribute(Keywords.NAME)); 1393throw ExceptionBuilder.MissingAttribute(Keywords.NAME);