System\Data\Common\DataAdapter.cs (25)
252public virtual DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType)
258protected virtual DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, string srcTable, IDataReader dataReader)
282return (DataTable[])value;
291protected virtual DataTable? FillSchema(DataTable dataTable, SchemaType schemaType, IDataReader dataReader)
311return (DataTable?)value;
320internal object? FillSchemaFromReader(DataSet? dataset, DataTable? datatable, SchemaType schemaType, string? srcTable, IDataReader dataReader)
322DataTable[]? dataTables = null;
351dataTables = new DataTable[1] { mapping.DataTable };
363value = Array.Empty<DataTable>();
412protected virtual int Fill(DataTable dataTable, IDataReader dataReader)
414DataTable[] dataTables = new DataTable[] { dataTable };
418protected virtual int Fill(DataTable[] dataTables, IDataReader dataReader, int startRecord, int maxRecords)
512internal int FillFromReader(DataSet? dataset, DataTable? datatable, string? srcTable, DataReaderContainer dataReader, int startRecord, int maxRecords)
518internal int FillFromReader(DataSet? dataset, DataTable? datatable, string? srcTable, DataReaderContainer dataReader, int startRecord, int maxRecords, DataColumn? parentChapterColumn, object? parentChapterValue)
662private SchemaMapping FillMappingInternal(DataSet? dataset, DataTable? datatable, string? srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn? parentChapterColumn, object? parentChapterValue)
674private SchemaMapping? FillMapping(DataSet? dataset, DataTable? datatable, string? srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn? parentChapterColumn, object? parentChapterValue)
744private void OnFillErrorHandler(Exception e, DataTable? dataTable, object?[]? dataValues)
767private static DataTable[] AddDataTableToArray(DataTable[] tables, DataTable newTable)
776DataTable[] newTables = new DataTable[tables.Length + 1]; // add unique data table
801internal int FillFromReader(DataTable[] dataTables, IDataReader dataReader, int startRecord, int maxRecords)
System\Data\Common\DataColumnMapping.cs (3)
74public DataColumn? GetDataColumnBySchemaAction(DataTable dataTable, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, MissingSchemaAction schemaAction)
80public static DataColumn? GetDataColumnBySchemaAction(string? sourceColumn, string? dataSetColumn, DataTable dataTable, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, MissingSchemaAction schemaAction)
115internal static DataColumn? CreateDataColumnBySchemaAction(string? sourceColumn, string? dataSetColumn, DataTable dataTable, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, MissingSchemaAction schemaAction)
System\Data\Common\DbDataAdapter.cs (25)
292public DataTable? FillSchema(DataTable dataTable, SchemaType schemaType)
308public override DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType)
316return Array.Empty<DataTable>(); // design-time support
328public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, string srcTable)
344protected virtual DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior)
366return (DataTable[])FillSchemaInternal(dataSet, null, schemaType, command, srcTable, behavior)!;
375protected virtual DataTable? FillSchema(DataTable dataTable, SchemaType schemaType, IDbCommand command, CommandBehavior behavior)
398return (DataTable?)FillSchemaInternal(null, dataTable, schemaType, command, srcTableName, behavior | CommandBehavior.SingleResult);
407private object? FillSchemaInternal(DataSet? dataset, DataTable? datatable, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior)
528public int Fill(DataTable dataTable)
534DataTable[] dataTables = new DataTable[1] { dataTable };
545public int Fill(int startRecord, int maxRecords, params DataTable[] dataTables)
561protected virtual int Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior)
567DataTable[] dataTables = new DataTable[1] { dataTable };
576protected virtual int Fill(DataTable[] dataTables, int startRecord, int maxRecords, IDbCommand command, CommandBehavior behavior)
613private int FillInternal(DataSet? dataset, DataTable[]? datatables, int startRecord, int maxRecords, string? srcTable, IDbCommand command, CommandBehavior behavior)
714internal DataTableMapping GetTableMapping(DataTable dataTable)
860DataTable? dataTable = null;
887public int Update(DataTable dataTable)
942DataTable? dataTable = tableMapping.GetDataTableBySchemaAction(dataSet, schemaAction);
1483private int UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
System\Data\DataSet.cs (56)
445DataTable dt = (DataTable)bf.Deserialize(memStream);
626/// comparisons within <see cref='System.Data.DataTable'/>
646foreach (DataTable table in Tables)
723foreach (DataTable table in Tables)
766DataTable? conflicting = Tables[value, Namespace];
791foreach (DataTable dt in Tables)
916foreach (DataTable table in Tables)
928foreach (DataTable table in Tables)
950foreach (DataTable table in Tables)
1141/// Clones the structure of the <see cref='System.Data.DataSet'/>, including all <see cref='System.Data.DataTable'/> schemas, relations, and
1173DataTable dt = tbls[i].Clone(ds);
1219foreach (DataTable table in Tables)
1256foreach (DataTable table in Tables)
1258DataTable destTable = dsNew.Tables[table.TableName, table.Namespace]!;
1262DataTable.CopyRow(destTable, row);
1282DataTable table = Tables[i];
1360DataTable table = Tables[i];
1361DataTable destTable = dsNew.Tables[table.TableName, table.Namespace]!;
1369DataTable.CopyRow(destTable, table.Rows[j]);
1451internal static string GetRemotingDiffGram(DataTable table)
1505internal string GetXmlSchemaForRemoting(DataTable? table)
1555DataTable table = Tables[i];
2077DataTable.DSRowDiffIdUsageSection rowDiffIdUsage = default;
2439foreach (DataTable table in Tables)
2472foreach (DataTable t in newDs.Tables)
2533foreach (DataTable t in newDs.Tables)
2544foreach (DataTable t in newDs.Tables)
2607DataTable.DSRowDiffIdUsageSection rowDiffIdUsage = default;
3000internal static DataRelationCollection GetParentRelations(DataTable table) => table.ParentRelations;
3073/// Merges this <see cref='System.Data.DataTable'/> into a specified <see cref='System.Data.DataTable'/>.
3075public void Merge(DataTable table)
3090/// Merges this <see cref='System.Data.DataTable'/> into a specified <see cref='System.Data.DataTable'/>. with a value to preserve changes
3093public void Merge(DataTable table, bool preserveChanges, MissingSchemaAction missingSchemaAction)
3188internal void RaiseMergeFailed(DataTable? table, string conflict, MissingSchemaAction missingSchemaAction)
3200internal void OnClearFunctionCalled(DataTable? table) => ClearFunctionCalled?.Invoke(this, table);
3207protected internal virtual void OnRemoveTable(DataTable table) { }
3209internal void OnRemovedTable(DataTable table)
3223internal DataTable[] TopLevelTables() => TopLevelTables(false);
3225internal DataTable[] TopLevelTables(bool forSchema)
3229List<DataTable> topTables = new List<DataTable>();
3236DataTable table = Tables[i];
3245DataTable table = Tables[i];
3253Array.Empty<DataTable>() :
3398internal static DataTable? FindTable(DataTable? baseTable, PropertyDescriptor[] props, int propStart)
3610public virtual void Load(IDataReader reader, LoadOption loadOption, FillErrorEventHandler? errorHandler, params DataTable[] tables)
3615foreach (DataTable dt in tables)
3645public void Load(IDataReader reader, LoadOption loadOption, params DataTable[] tables) =>
3652var dataTables = new DataTable[tables.Length];
3655DataTable? tempDT = Tables[tables[i]];
3673var dataTables = new DataTable[Tables.Count];
3681public DataTableReader CreateDataReader(params DataTable[] dataTables)
System\Data\DataTable.cs (86)
162/// Initializes a new instance of the <see cref='System.Data.DataTable'/> class with no arguments.
181/// Initializes a new instance of the <see cref='System.Data.DataTable'/> class with the specified table
330DataTable table = ds.Tables[0];
373List<DataTable> list = new List<DataTable>();
634DataTable parentTable = (allConstraints == false) ? this : DataSet!.Tables[parentInfo[0]];
642DataTable childTable = (allConstraints == false) ? this : DataSet!.Tables[childInfo[0]];
1050_isTypedDataTable = (byte)((GetType() != typeof(DataTable)) ? 1 : 2);
1178/// Gets the collection of child relations for this <see cref='System.Data.DataTable'/>.
1207/// Resets the <see cref='System.Data.DataTable.Constraints'/> property to its default state.
1551/// Gets the collection of parent relations for this <see cref='System.Data.DataTable'/>.
1747/// Indicates whether the <see cref='System.Data.DataTable.PrimaryKey'/> property should be persisted.
1752/// Resets the <see cref='System.Data.DataTable.PrimaryKey'/> property to its default state.
1855private string GetInheritedNamespace(List<DataTable> visitedTables)
1879DataTable parentTable = nestedRelations[j].ParentTable;
1898/// Gets or sets the namespace for the <see cref='System.Data.DataTable'/>.
1903get { return _tableNamespace ?? GetInheritedNamespace(new List<DataTable>()); }
1913string realNamespace = value ?? GetInheritedNamespace(new List<DataTable>());
1943DataTable childTable = rel.ChildTable;
1964rel.ChildTable.CheckNamespaceValidityForNestedParentRelations(GetInheritedNamespace(new List<DataTable>()), this);
1972CheckNamespaceValidityForNestedParentRelations(GetInheritedNamespace(new List<DataTable>()), this);
1975internal void CheckNamespaceValidityForNestedParentRelations(string ns, DataTable parentTable)
2012/// Indicates whether the <see cref='System.Data.DataTable.Namespace'/> property should be persisted.
2017/// Resets the <see cref='System.Data.DataTable.Namespace'/> property to its default state.
2289/// Commits all the changes made to this table since the last time <see cref='System.Data.DataTable.AcceptChanges'/> was called.
2325protected virtual DataTable CreateInstance() => (DataTable)Activator.CreateInstance(GetType(), true)!;
2327public virtual DataTable Clone() => Clone(null);
2329internal DataTable Clone(DataSet? cloneDS)
2334DataTable clone = CreateInstance();
2347private static DataTable IncrementalCloneTo(DataTable sourceTable, DataTable targetTable)
2360private static DataTable CloneHierarchy(DataTable sourceTable, DataSet ds, Hashtable? visitedMap)
2365return ((DataTable)visitedMap[sourceTable]!);
2368DataTable? destinationTable = ds.Tables[sourceTable.TableName, sourceTable.Namespace];
2396private DataTable CloneTo(DataTable clone, DataSet? cloneDS, bool skipExpressionColumns)
2519public DataTable Copy()
2524DataTable destTable = Clone();
2978internal static void CopyRow(DataTable table, DataRow row)
3092public DataTable? GetChanges()
3097DataTable dtChanges = Clone();
3122public DataTable? GetChanges(DataRowState rowStates)
3127DataTable dtChanges = Clone();
3586/// Notifies the <see cref='System.Data.DataTable'/> that a <see cref='System.Data.DataColumn'/> is
3618/// Raises the <see cref='System.Data.DataTable.RowChanged'/> event.
3631/// Raises the <see cref='System.Data.DataTable.RowChanging'/> event.
3644/// Raises the <see cref='System.Data.DataTable.OnRowDeleting'/> event.
3657/// Raises the <see cref='System.Data.DataTable.OnRowDeleted'/> event.
3968/// since it was loaded, or the last time <see cref='System.Data.DataTable.AcceptChanges'/> was called.
4589/// Returns the <see cref='System.Data.DataTable.TableName'/> and <see cref='System.Data.DataTable.DisplayExpression'/>, if there is one as a concatenated string.
4932public void Merge(DataTable table) =>
4935public void Merge(DataTable table, bool preserveChanges) =>
4938public void Merge(DataTable table, bool preserveChanges, MissingSchemaAction missingSchemaAction)
4994adapter.FillFromReader(new DataTable[] { this }, reader, 0, 0);
5524private static bool CheckForClosureOnExpressions(DataTable dt, bool writeHierarchy)
5526List<DataTable> tableList = new List<DataTable>();
5535private static bool CheckForClosureOnExpressionTables(List<DataTable> tableList)
5539foreach (DataTable datatable in tableList)
6309DataTable newDt;
6382List<DataTable> tableList = new List<DataTable>();
6495DataTable? currentTable = null;
6541List<DataTable> tableList = new List<DataTable>();
6551DataTable tempTable = currentTable;
6596foreach (DataTable tempTable in tableList)
6598DataTable destinationTable = DataSet.Tables[tempTable._tableName, tempTable.Namespace]!;
6599DataTable sourceTable = ds.Tables[tempTable._tableName, tempTable.Namespace]!;
6630foreach (DataTable tempTable in tableList)
6662private static void CreateTableList(DataTable currentTable, List<DataTable> tableList)
6673private static void CreateRelationList(List<DataTable> tableList, List<DataRelation> relationList)
6675foreach (DataTable table in tableList)
6725if (GetType() == typeof(DataTable))
6823internal static List<DataTable>? t_usedTables;
6826private DataTable _targetTable;
6828internal void Prepare(DataTable table)
6839(t_usedTables ??= new List<DataTable>()).Add(table);
6888RowDiffIdUsageSection.t_usedTables ??= new List<DataTable>();
6892DataTable table = ds.Tables[tableIndex];
6914DataTable table = _targetDS.Tables[tableIndex];
System\Data\DataTableCollection.cs (57)
25private DataTable?[]? _delayedAddRangeTables;
52public DataTable this[int index]
59return (DataTable)_list[index]!;
71public DataTable? this[string? name]
84return (index < 0) ? null : (DataTable)_list[index]!;
88public DataTable? this[string? name, string tableNamespace]
102return (index < 0) ? null : (DataTable)_list[index]!;
107internal DataTable? GetTable(string name, string ns)
111DataTable table = (DataTable)_list[i]!;
122internal DataTable? GetTableSmart(string name, string? ns)
125DataTable? fTable = null;
128DataTable table = (DataTable)_list[i]!;
147public void Add(DataTable table)
169public void AddRange(DataTable?[]? tables)
182foreach (DataTable? table in tables)
200public DataTable Add(string? name)
202DataTable table = new DataTable(name);
207public DataTable Add(string? name, string? tableNamespace)
209DataTable table = new DataTable(name, tableNamespace);
217public DataTable Add()
219DataTable table = new DataTable();
255private void ArrayAdd(DataTable table) => _list.Add(table);
277private void BaseAdd([NotNull] DataTable table)
316private void BaseGroupSwitch(DataTable[] oldArray, int oldLength, DataTable[] newArray, int newLength)
364private void BaseRemove(DataTable? table)
378public bool CanRemove(DataTable? table) => CanRemove(table, false);
380internal bool CanRemove([NotNullWhen(true)] DataTable? table, bool fThrowException)
466DataTable[] tables = new DataTable[_list.Count];
476BaseGroupSwitch(tables, oldLength, Array.Empty<DataTable>(), 0);
518DataTable table = (DataTable)_list[i]!;
540DataTable table = (DataTable)_list[i]!;
549public void CopyTo(DataTable[] array, int index)
565array[index + i] = (DataTable)_list[i]!;
570/// Returns the index of a specified <see cref='System.Data.DataTable'/>.
572public int IndexOf(DataTable? table)
577if (table == (DataTable)_list[i]!)
616internal void ReplaceFromInference(List<DataTable> tableList)
637DataTable table = (DataTable)_list[i]!;
646DataTable dupTable = (DataTable)_list[j]!;
674DataTable table = (DataTable)_list[i]!;
690foreach (DataTable? table in _delayedAddRangeTables)
743DataTable table = (DataTable)_list[i]!;
746throw ExceptionBuilder.DuplicateTableName(((DataTable)_list[i]!).TableName);
758public void Remove(DataTable table)
781DataTable dt = this[index];
802DataTable? dt = this[name];
825DataTable? dt = this[name, tableNamespace];
System\Data\DataView.cs (20)
16/// Represents a databindable, customized view of a <see cref='System.Data.DataTable'/>
27private DataTable? _table;
58private DataTable? _delayedTable;
97internal DataView(DataTable? table, bool locked)
118/// specified <see cref='System.Data.DataTable'/>.
120public DataView(DataTable? table) : this(table, false)
127/// specified <see cref='System.Data.DataTable'/>.
130public DataView(DataTable table, string? RowFilter, string? Sort, DataViewRowState RowState)
163internal DataView(DataTable table, System.Predicate<DataRow>? predicate, System.Comparison<DataRow>? comparison, DataViewRowState RowState)
293/// projecting views of data on the <see cref='System.Data.DataTable'/>.
418return DataTable.FormatSortString(_table._primaryIndex);
465/// Gets or sets the source <see cref='System.Data.DataTable'/>.
470public DataTable? Table
1167DataTable? foundTable = DataSet.FindTable(_table, listAccessors, 0);
1194DataTable? foundTable = DataSet.FindTable(_table, listAccessors, 0);
1668public DataTable ToTable() =>
1671public DataTable ToTable(string? tableName) =>
1674public DataTable ToTable(bool distinct, params string[] columnNames) =>
1677public DataTable ToTable(string? tableName, bool distinct, params string[] columnNames)
1686DataTable dt = new DataTable();
System\Data\Selection.cs (5)
63private readonly DataTable _table;
88public Index(DataTable table, IndexField[] indexFields, DataViewRowState recordStates, IFilter? rowFilter) :
93public Index(DataTable table, System.Comparison<DataRow> comparison, DataViewRowState recordStates, IFilter? rowFilter) :
109private Index(DataTable table, IndexField[] indexFields, System.Comparison<DataRow>? comparison, DataViewRowState recordStates, IFilter? rowFilter)
1007internal DataTable Table => _table;
System\Data\XmlDataLoader.cs (22)
28private readonly DataTable? _dataTable;
55internal XmlDataLoader(DataTable datatable, bool IsXdr, bool ignoreSchema)
66internal XmlDataLoader(DataTable datatable, bool IsXdr, XmlElement topNode, bool ignoreSchema)
339DataTable? topTable = (DataTable?)_nodeToSchemaMap.GetSchemaForNode(e, FIgnoreNamespace(e));
371DataTable table = row.Table;
403if (schema is DataTable)
516if (schema != null && schema is DataTable)
525r = ((DataTable)schema).CreateEmptyRow();
615DataTable? table = _nodeToSchemaMap.GetSchemaForNode(_topMostNode, FIgnoreNamespace(_topMostNode)) as DataTable;
636DataTable? table = _nodeToSchemaMap.GetTableForNode(_dataReader, FIgnoreNamespace(_dataReader));
682private void LoadTopMostTable(DataTable table)
768DataTable? nestedTable = o as DataTable;
864private void LoadTable(DataTable table, bool isNested)
996DataTable? nestedTable = o as DataTable;
1015DataTable? misplacedTable = _nodeToSchemaMap.GetTableForNode(_dataReader, FIgnoreNamespace(_dataReader));
1306DataTable? nestedTable = o as DataTable;
1318DataTable? misplacedTable = _nodeToSchemaMap.GetTableForNode(_dataReader, FIgnoreNamespace(_dataReader));
System\Data\xmlsaver.cs (68)
119if (!((instance is DataSet) || (instance is DataTable) || (instance is DataColumn) || (instance is DataRelation)))
282private void GenerateConstraintNames(DataTable table, bool fromTable)
326GenerateConstraintNames((DataTable)tables[i]!, true);
332foreach (DataTable dt in ds.Tables)
352DataTable table = ds.Tables[t];
419foreach (DataTable dt in ds.Tables)
427SetupAutoGenerated((DataTable)dt[i]!);
431internal void SetupAutoGenerated(DataTable dt)
477private void CreateTablesHierarchy(DataTable dt)
491private void CreateRelations(DataTable dt)
504private DataTable[] CreateToplevelTables()
509DataTable table = (DataTable)_tables[i]!;
533return Array.Empty<DataTable>();
536var temp = new DataTable[topTables.Count];
545internal void SchemaTree(XmlDocument xd, XmlWriter xmlWriter, DataSet? ds, DataTable? dt, bool writeHierarchy)
553DataTable[] top;
556DataTable _dt = dt!;
561foreach (DataTable table in ds.Tables)
775CreateRelations((DataTable)_tables[0]!);
943internal XmlElement SchemaTree(XmlDocument xd, DataTable dt)
1016internal XmlElement FillDataSetElement(XmlDocument xd, DataSet? ds, DataTable? dt)
1110internal void Save(DataTable dt, XmlWriter xw)
1124internal void Save(DataSet ds, DataTable? dt, XmlWriter xw)
1131internal void Save(DataSet? ds, DataTable? dt, XmlWriter xw, bool writeHierarchy)
1138internal void Save(DataSet? ds, DataTable? dt, XmlWriter xw, bool writeHierarchy, Converter<Type, string>? multipleTargetConverter)
1392private string FindTargetNamespace(DataTable table)
1402DataTable parentTable = nestedParentRelations[i].ParentTable;
1441DataTable _table = col.Table!;
1600internal XmlElement HandleTable(DataTable table, XmlDocument dc, XmlElement schema)
1608private static bool HasMixedColumns(DataTable table)
1727internal XmlElement HandleTable(DataTable table, XmlDocument dc, XmlElement schema, bool genNested)
1745DataTable _table = table;
1932DataTable childTable = childRelations[j].ChildTable;
2266internal DataTable? _dt;
2288internal NewDiffgramGen(DataTable dt, bool writeHierarchy)
2303private void CreateTableHierarchy(DataTable dt)
2323rows += ((DataTable)tables[i]!).Rows.Count;
2328DataTable dt = (DataTable)tables[i]!;
2340if (((DataTable)_tables[i]!).Rows.Count > 0)
2355internal void Save(XmlWriter xmlw, DataTable? table)
2384GenerateTable((DataTable)_tables[i]!);
2402GenerateTableErrors((DataTable)_tables[i]!);
2416private void GenerateTable(DataTable table)
2428private void GenerateTableErrors(DataTable table)
2506DataTable table = row.Table;
2682private readonly DataTable? _dt;
2685private readonly DataTable[] _topLevelTables;
2696foreach (DataTable table in ds.Tables)
2702internal XmlDataTreeWriter(DataTable dt, bool writeHierarchy)
2709_topLevelTables = new DataTable[] { dt };
2722_topLevelTables = new DataTable[] { dt };
2726private DataTable[] CreateToplevelTables()
2731DataTable table = (DataTable)_dTables[i]!;
2755return Array.Empty<DataTable>();
2758var temp = new DataTable[topTables.Count];
2763private void CreateTablesHierarchy(DataTable dt)
2822DataTable tempTable = ((DataTable)_dTables[i]!);
2830DataTable tempDT = ((DataTable)_dTables[i]!);
2880if (((DataTable)_dTables[i]!)._xmlText != null)
2902foreach (DataRow row in ((DataTable)_dTables[i]!).Rows)
2909XmlDataRowWriter(row, ((DataTable)_dTables[i]!).EncodedTableName);
2913DataTable dt = (DataTable)_dTables[i]!;
System\Data\XMLSchema.cs (49)
99internal static string GenUniqueColumnName(string proposedName, DataTable table)
122public DataTable table;
124public ConstraintTable(DataTable t, XmlSchemaIdentityConstraint c)
148private Dictionary<DataTable, List<DataTable>>? _tableDictionary;
416DataTable? table = _ds!.Tables.GetTable(XmlConvert.DecodeName(typeName), element.QualifiedName.Namespace);
438DataTable? parent;
439DataTable? child;
644public void LoadSchema(XmlSchemaSet schemaSet, DataTable dt)
690_tableDictionary = new Dictionary<DataTable, List<DataTable>>();
693foreach (DataTable dt in ds.Tables)
810foreach (DataTable dt in ds!.Tables)
828DataTable? tmpTable = ds.Tables[ds.DataSetName, ds.Namespace];
898internal void HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, bool isBase)
914DataTable? child;
988internal void HandleAttributes(XmlSchemaObjectCollection attributes, DataTable table, bool isBase)
1010private void HandleAttributeGroup(XmlSchemaAttributeGroup attributeGroup, DataTable table, bool isBase)
1040internal void HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, bool isNillable)
1172internal static DataColumn FindField(DataTable table, string field)
1199internal static DataColumn[] BuildKey(XmlSchemaIdentityConstraint keyNode, DataTable table)
1291DataTable? table = _ds!.Tables.GetTableSmart(tableName, tableNs);
1348if (_tableDictionary!.TryGetValue(relation.ParentTable, out List<DataTable>? value))
1402DataTable? table = _ds!.Tables.GetTableSmart(tableName, tableNs);
1442internal DataTable InstantiateSimpleTable(XmlSchemaElement node)
1444DataTable? table;
1511_tableDictionary!.Add(table, new List<DataTable>());
1556internal DataTable InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, bool isRef)
1558DataTable? table;
1636_tableDictionary!.Add(table, new List<DataTable>());
1678foreach (DataTable _tableChild in tableChildren)
1761if (_tableDictionary!.TryGetValue(relation.ParentTable, out List<DataTable>? value))
1956internal void HandleSimpleTypeSimpleContentColumn(XmlSchemaSimpleType typeNode, string strType, DataTable table, bool isBase, XmlAttribute[]? attrs, bool isNillable)
2094internal void HandleSimpleContentColumn(string strType, DataTable table, bool isBase, XmlAttribute[]? attrs, bool isNillable)
2196internal void HandleAttributeColumn(XmlSchemaAttribute attrib, DataTable table, bool isBase)
2360internal void HandleElementColumn(XmlSchemaElement elem, DataTable table, bool isBase)
2567List<DataTable> tableSequenceList = new List<DataTable>();
2644DataTable? tempTable = _ds.Tables.GetTable(XmlConvert.DecodeName(GetInstanceName((XmlSchemaElement)el)), node.QualifiedName.Namespace);
2662DataTable? child = HandleTable((XmlSchemaElement)el);
2686DataTable child = HandleTable((XmlSchemaElement)choiceEl)!;
2719List<DataTable> _tableList = new List<DataTable>(_ds.Tables.Count);
2720foreach (DataTable dt in tableSequenceList)
2728private void AddTablesToList(List<DataTable> tableList, DataTable dt)
2733foreach (DataTable childTable in _tableDictionary![dt])
2851internal DataTable? HandleTable(XmlSchemaElement node)
2863DataTable table = InstantiateTable(node, (XmlSchemaComplexType)typeNode!, (node.RefName != null)); // this is wrong , correct check should be node.RefName.IsEmpty