private uint Pop(CUQueue UQueue, ref DataRelationCollection drc) { int n; string str; bool b; int nData; uint nSize = UQueue.GetSize(); UQueue.Load(out nData); drc.Clear(); for (n = 0; n < nData; n++) { DataColumn[] dcsChild = null; PopTableColNamesOnly(UQueue, ref dcsChild); UQueue.Load(out b); UQueue.Load(out str); DataColumn[] dcsParent = null; PopTableColNamesOnly(UQueue, ref dcsParent); DataRelation dr = new DataRelation(str, dcsParent, dcsChild); dr.Nested = b; drc.Add(dr); } return (nSize - UQueue.GetSize()); }