6 instantiations of XmlBoundElement
System.Data.Common (6)
System\Xml\XmlDataDocument.cs (6)
354return new XmlBoundElement(prefix, localName, namespaceURI, this); 379return new XmlBoundElement(prefix, localName, namespaceURI, this); 467docelem = new XmlBoundElement(string.Empty, docElemName, DataSet.Namespace ?? string.Empty, this); 689newNode = new XmlBoundElement(string.Empty, col.EncodedColumnName, col.Namespace, this); 1360XmlBoundElement rowElement = new XmlBoundElement(string.Empty, table.EncodedTableName, table.Namespace, this); 1555var newElem = new XmlBoundElement(string.Empty, col.EncodedColumnName, col.Namespace, this);
155 references to XmlBoundElement
System.Data.Common (155)
System\Data\DataRow.cs (2)
53internal XmlBoundElement? Element 55get { return (XmlBoundElement?)_element; }
System\Xml\BaseTreeIterator.cs (1)
58return CurrentNode is XmlBoundElement be && be.Row != null;
System\Xml\DataPointer.cs (8)
46private XmlBoundElement? GetRowElement() 48XmlBoundElement? rowElem; 51rowElem = _node as XmlBoundElement; 65XmlBoundElement? rowElem = GetRowElement(); 77node != null && node is XmlBoundElement ? 78((XmlBoundElement)node).IsFoliated : true; 842XmlBoundElement? rowElem = _node as XmlBoundElement;
System\Xml\DataSetMappper.cs (14)
87internal DataTable? SearchMatchingTableSchema(XmlBoundElement? rowElem, XmlBoundElement elem) 149internal DataColumn? GetColumnSchemaForNode(XmlBoundElement rowElem, XmlNode node) 153Debug.Assert((node is XmlBoundElement) ? ((XmlBoundElement)node).Row == null : true); 186XmlBoundElement? be = elem as XmlBoundElement; 195internal static DataTable? GetTableSchemaForElement(XmlBoundElement be) => be.Row?.Table; 205internal static DataRow? GetRowFromElement(XmlElement? e) => (e as XmlBoundElement)?.Row; 207internal static DataRow? GetRowFromElement(XmlBoundElement be) => be.Row; 212internal static bool GetRegion(XmlNode? node, [NotNullWhen(true)] out XmlBoundElement? rowElem) 216XmlBoundElement? be = node as XmlBoundElement; 238internal bool IsRegionRadical(XmlBoundElement rowElem)
System\Xml\RegionIterator.cs (2)
20private readonly XmlBoundElement _rowElement; 23internal RegionIterator(XmlBoundElement rowElement) : base(((XmlDataDocument)(rowElement.OwnerDocument)).Mapper)
System\Xml\XmlBoundElement.cs (5)
73XmlBoundElement? parent = ParentNode as XmlBoundElement; 93XmlBoundElement? parent = ParentNode as XmlBoundElement; 227Debug.Assert(element is XmlBoundElement);
System\Xml\XmlDataDocument.cs (89)
116XmlBoundElement? be = node as XmlBoundElement; 149XmlBoundElement? be; 232internal void Bind(DataRow r, XmlBoundElement e) 373XmlBoundElement? be = row.Element; 399private void DefoliateRegion(XmlBoundElement rowElem) 430XmlBoundElement? be = node as XmlBoundElement; 444Debug.Assert((node is XmlBoundElement) && (((XmlBoundElement)node).Row != null)); 573internal void Foliate(XmlBoundElement node, ElementState newState) 583XmlBoundElement? rowElem; 616if (element is XmlBoundElement) 617((XmlBoundElement)element).Foliate(ElementState.WeakFoliation); 638private void EnsureFoliation(XmlBoundElement rowElem, ElementState foliation) 645private void ForceFoliation(XmlBoundElement node, ElementState newState) 745private XmlNode? GetColumnInsertAfterLocation(DataColumn col, XmlBoundElement rowElement) 879XmlBoundElement? be = r.Element; 925if (element is XmlBoundElement) 927return ((XmlBoundElement)element).IsFoliated; 932private bool IsFoliated(XmlBoundElement be) 1287private void LoadRows(XmlBoundElement? rowElem, XmlNode node) 1291XmlBoundElement? be = node as XmlBoundElement; 1355private XmlBoundElement AttachBoundElementToDataRow(DataRow row) 1360XmlBoundElement rowElement = new XmlBoundElement(string.Empty, table.EncodedTableName, table.Namespace, this); 1382XmlBoundElement rowElement = (XmlBoundElement)(GetElementFromRow(row)); 1404private void OnColumnValueChanged(DataRow row, DataColumn col, XmlBoundElement rowElement) 1520XmlBoundElement? be = e as XmlBoundElement; 1555var newElem = new XmlBoundElement(string.Empty, col.EncodedColumnName, col.Namespace, this); 1604XmlBoundElement? be = row.Element; 1620private void OnColumnValuesChanged(DataRow row, XmlBoundElement rowElement) 1648private void OnDeleteRow(XmlBoundElement rowElement) 1661private void OnDeletingRow(XmlBoundElement rowElement) 1722private void OnNestedParentChange(DataRow child, XmlBoundElement childElement, DataColumn? childCol) 1792XmlBoundElement? rowElement = null; 1926XmlBoundElement? oldRowElem; 1933XmlBoundElement? rowElem = node as XmlBoundElement; 1939rowElem = (XmlBoundElement)(iter.CurrentNode!); 1950XmlBoundElement? oldRowElem; 1963XmlBoundElement? be = node as XmlBoundElement; 1975XmlBoundElement rowElemChild = (XmlBoundElement)(iter.CurrentNode!); 1996XmlBoundElement? rowElement = row.Element; 2279XmlBoundElement? parentRegionRowElem; 2286Debug.Assert(iter.CurrentNode is XmlBoundElement && ((XmlBoundElement)(iter.CurrentNode)).Row != null); 2287XmlBoundElement rowElemChild = (XmlBoundElement)(iter.CurrentNode); 2349XmlBoundElement? be = n as XmlBoundElement; 2359XmlBoundElement? be = n as XmlBoundElement; 2369XmlBoundElement? be = n as XmlBoundElement; 2409private void SynchronizeRowFromRowElement(XmlBoundElement rowElement) 2416private void SynchronizeRowFromRowElement(XmlBoundElement rowElement, ArrayList? rowElemList) 2454private void SynchronizeRowFromRowElementEx(XmlBoundElement rowElement, ArrayList? rowElemList) 2493XmlBoundElement? be = e as XmlBoundElement; 2552private void UpdateAllColumns(DataRow row, XmlBoundElement rowElement) 2670XmlBoundElement? be; 2694Debug.Assert(rowElemList[0] != null && rowElemList[0] is XmlBoundElement); 2695XmlBoundElement? subRowElem = (XmlBoundElement?)(rowElemList[0]); 2708XmlBoundElement? be; 2723Debug.Assert(rowElemList[0] != null && rowElemList[0] is XmlBoundElement); 2724XmlBoundElement subRowElem = (XmlBoundElement)(rowElemList[0]!); 2743private void OnRowElementInsertedInTree(XmlBoundElement rowElem, ArrayList rowElemList) 2805private void EnsureDisconnectedDataRow(XmlBoundElement rowElem) 2857private void OnNonRowElementInsertedInTree(XmlNode node, XmlBoundElement rowElement, ArrayList rowElemList) 2873private void OnNonRowElementInsertedInFragment(XmlBoundElement rowElement, ArrayList rowElemList) 2887private void SetNestedParentRegion(XmlBoundElement childRowElem) 2891XmlBoundElement? parentRowElem; 2896private void SetNestedParentRegion(XmlBoundElement childRowElem, XmlBoundElement? parentRowElem) 2961XmlBoundElement? be = node.ParentNode as XmlBoundElement; 2983XmlBoundElement? rowElement = node as XmlBoundElement; 2989rowElement = iter.CurrentNode as XmlBoundElement; 3006XmlBoundElement? rowElement = node as XmlBoundElement; 3012rowElement = iter.CurrentNode as XmlBoundElement;
System\Xml\XPathNodePointer.cs (34)
20internal XmlBoundElement? _parentOfNS; 105private XPathNodePointer(DataDocumentXPathNavigator owner, XmlDataDocument doc, XmlNode node, DataColumn? c, bool bOnValue, XmlBoundElement? parentOfNS) 394XmlBoundElement? curBoundElem; 398curBoundElem = curNode as XmlBoundElement; 432private XmlBoundElement? GetRowElement() 434XmlBoundElement? rowElem; 437rowElem = (XmlBoundElement)_node; 451XmlBoundElement? rowElem = GetRowElement(); 496if (node != null && node is XmlBoundElement) 497return ((XmlBoundElement)node).IsFoliated; 819if (!IsFoliated(parent) && (parent is XmlBoundElement)) 821DataRow? row = ((XmlBoundElement)parent).Row; 855if (!IsFoliated(parent) && (parent is XmlBoundElement)) 856curRow = ((XmlBoundElement)parent).Row; 1238XmlBoundElement? rowElem = GetRowElement(); 1324private string? GetNamespace(XmlBoundElement be, string name) 1386retVal = GetNamespace((XmlBoundElement)node, name!); 1399_parentOfNS = _node as XmlBoundElement; 1406XmlBoundElement? be; 1410be = node as XmlBoundElement; 1455private bool MoveToNextNamespace(XmlBoundElement? be, DataColumn? col, XmlAttribute? curAttr) 1512_parentOfNS = _node as XmlBoundElement; 1517XmlBoundElement? be; 1520be = node as XmlBoundElement; 1546private bool DuplicateNS(XmlBoundElement endElem, string lname) 1550XmlBoundElement? be = _parentOfNS; 1561be = node as XmlBoundElement; 1580XmlBoundElement? be = _node as XmlBoundElement; 1612if (MoveToNextNamespace((XmlBoundElement)node, null, attr)) 1626XmlBoundElement? be = node as XmlBoundElement; 1653XmlBoundElement? rowElem = _node as XmlBoundElement;