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)
435DataTable dt = (DataTable)bf.Deserialize(memStream);
616/// comparisons within <see cref='System.Data.DataTable'/>
636foreach (DataTable table in Tables)
713foreach (DataTable table in Tables)
756DataTable? conflicting = Tables[value, Namespace];
781foreach (DataTable dt in Tables)
906foreach (DataTable table in Tables)
918foreach (DataTable table in Tables)
940foreach (DataTable table in Tables)
1131/// Clones the structure of the <see cref='System.Data.DataSet'/>, including all <see cref='System.Data.DataTable'/> schemas, relations, and
1163DataTable dt = tbls[i].Clone(ds);
1209foreach (DataTable table in Tables)
1246foreach (DataTable table in Tables)
1248DataTable destTable = dsNew.Tables[table.TableName, table.Namespace]!;
1252DataTable.CopyRow(destTable, row);
1272DataTable table = Tables[i];
1350DataTable table = Tables[i];
1351DataTable destTable = dsNew.Tables[table.TableName, table.Namespace]!;
1359DataTable.CopyRow(destTable, table.Rows[j]);
1440internal static string GetRemotingDiffGram(DataTable table)
1491internal string GetXmlSchemaForRemoting(DataTable? table)
1541DataTable table = Tables[i];
2039DataTable.DSRowDiffIdUsageSection rowDiffIdUsage = default;
2397foreach (DataTable table in Tables)
2429foreach (DataTable t in newDs.Tables)
2490foreach (DataTable t in newDs.Tables)
2501foreach (DataTable t in newDs.Tables)
2562DataTable.DSRowDiffIdUsageSection rowDiffIdUsage = default;
2944internal static DataRelationCollection GetParentRelations(DataTable table) => table.ParentRelations;
3017/// Merges this <see cref='System.Data.DataTable'/> into a specified <see cref='System.Data.DataTable'/>.
3019public void Merge(DataTable table)
3034/// Merges this <see cref='System.Data.DataTable'/> into a specified <see cref='System.Data.DataTable'/>. with a value to preserve changes
3037public void Merge(DataTable table, bool preserveChanges, MissingSchemaAction missingSchemaAction)
3132internal void RaiseMergeFailed(DataTable? table, string conflict, MissingSchemaAction missingSchemaAction)
3144internal void OnClearFunctionCalled(DataTable? table) => ClearFunctionCalled?.Invoke(this, table);
3151protected internal virtual void OnRemoveTable(DataTable table) { }
3153internal void OnRemovedTable(DataTable table)
3167internal DataTable[] TopLevelTables() => TopLevelTables(false);
3169internal DataTable[] TopLevelTables(bool forSchema)
3173List<DataTable> topTables = new List<DataTable>();
3180DataTable table = Tables[i];
3189DataTable table = Tables[i];
3197Array.Empty<DataTable>() :
3342internal static DataTable? FindTable(DataTable? baseTable, PropertyDescriptor[] props, int propStart)
3541public virtual void Load(IDataReader reader, LoadOption loadOption, FillErrorEventHandler? errorHandler, params DataTable[] tables)
3546foreach (DataTable dt in tables)
3576public void Load(IDataReader reader, LoadOption loadOption, params DataTable[] tables) =>
3583var dataTables = new DataTable[tables.Length];
3586DataTable? tempDT = Tables[tables[i]];
3604var dataTables = new DataTable[Tables.Count];
3612public 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
325DataTable table = ds.Tables[0];
368List<DataTable> list = new List<DataTable>();
629DataTable parentTable = (allConstraints == false) ? this : DataSet!.Tables[parentInfo[0]];
637DataTable childTable = (allConstraints == false) ? this : DataSet!.Tables[childInfo[0]];
1045_isTypedDataTable = (byte)((GetType() != typeof(DataTable)) ? 1 : 2);
1173/// Gets the collection of child relations for this <see cref='System.Data.DataTable'/>.
1202/// Resets the <see cref='System.Data.DataTable.Constraints'/> property to its default state.
1546/// Gets the collection of parent relations for this <see cref='System.Data.DataTable'/>.
1742/// Indicates whether the <see cref='System.Data.DataTable.PrimaryKey'/> property should be persisted.
1747/// Resets the <see cref='System.Data.DataTable.PrimaryKey'/> property to its default state.
1850private string GetInheritedNamespace(List<DataTable> visitedTables)
1874DataTable parentTable = nestedRelations[j].ParentTable;
1893/// Gets or sets the namespace for the <see cref='System.Data.DataTable'/>.
1898get { return _tableNamespace ?? GetInheritedNamespace(new List<DataTable>()); }
1908string realNamespace = value ?? GetInheritedNamespace(new List<DataTable>());
1938DataTable childTable = rel.ChildTable;
1959rel.ChildTable.CheckNamespaceValidityForNestedParentRelations(GetInheritedNamespace(new List<DataTable>()), this);
1967CheckNamespaceValidityForNestedParentRelations(GetInheritedNamespace(new List<DataTable>()), this);
1970internal void CheckNamespaceValidityForNestedParentRelations(string ns, DataTable parentTable)
2007/// Indicates whether the <see cref='System.Data.DataTable.Namespace'/> property should be persisted.
2012/// Resets the <see cref='System.Data.DataTable.Namespace'/> property to its default state.
2284/// Commits all the changes made to this table since the last time <see cref='System.Data.DataTable.AcceptChanges'/> was called.
2320protected virtual DataTable CreateInstance() => (DataTable)Activator.CreateInstance(GetType(), true)!;
2322public virtual DataTable Clone() => Clone(null);
2324internal DataTable Clone(DataSet? cloneDS)
2329DataTable clone = CreateInstance();
2342private static DataTable IncrementalCloneTo(DataTable sourceTable, DataTable targetTable)
2355private static DataTable CloneHierarchy(DataTable sourceTable, DataSet ds, Hashtable? visitedMap)
2360return ((DataTable)visitedMap[sourceTable]!);
2363DataTable? destinationTable = ds.Tables[sourceTable.TableName, sourceTable.Namespace];
2391private DataTable CloneTo(DataTable clone, DataSet? cloneDS, bool skipExpressionColumns)
2514public DataTable Copy()
2519DataTable destTable = Clone();
2973internal static void CopyRow(DataTable table, DataRow row)
3087public DataTable? GetChanges()
3092DataTable dtChanges = Clone();
3117public DataTable? GetChanges(DataRowState rowStates)
3122DataTable dtChanges = Clone();
3581/// Notifies the <see cref='System.Data.DataTable'/> that a <see cref='System.Data.DataColumn'/> is
3613/// Raises the <see cref='System.Data.DataTable.RowChanged'/> event.
3626/// Raises the <see cref='System.Data.DataTable.RowChanging'/> event.
3639/// Raises the <see cref='System.Data.DataTable.OnRowDeleting'/> event.
3652/// Raises the <see cref='System.Data.DataTable.OnRowDeleted'/> event.
3963/// since it was loaded, or the last time <see cref='System.Data.DataTable.AcceptChanges'/> was called.
4584/// Returns the <see cref='System.Data.DataTable.TableName'/> and <see cref='System.Data.DataTable.DisplayExpression'/>, if there is one as a concatenated string.
4927public void Merge(DataTable table) =>
4930public void Merge(DataTable table, bool preserveChanges) =>
4933public void Merge(DataTable table, bool preserveChanges, MissingSchemaAction missingSchemaAction)
4989adapter.FillFromReader(new DataTable[] { this }, reader, 0, 0);
5499private static bool CheckForClosureOnExpressions(DataTable dt, bool writeHierarchy)
5501List<DataTable> tableList = new List<DataTable>();
5510private static bool CheckForClosureOnExpressionTables(List<DataTable> tableList)
5514foreach (DataTable datatable in tableList)
6273DataTable newDt;
6346List<DataTable> tableList = new List<DataTable>();
6453DataTable? currentTable = null;
6499List<DataTable> tableList = new List<DataTable>();
6509DataTable tempTable = currentTable;
6554foreach (DataTable tempTable in tableList)
6556DataTable destinationTable = DataSet.Tables[tempTable._tableName, tempTable.Namespace]!;
6557DataTable sourceTable = ds.Tables[tempTable._tableName, tempTable.Namespace]!;
6588foreach (DataTable tempTable in tableList)
6620private static void CreateTableList(DataTable currentTable, List<DataTable> tableList)
6631private static void CreateRelationList(List<DataTable> tableList, List<DataRelation> relationList)
6633foreach (DataTable table in tableList)
6676if (GetType() == typeof(DataTable))
6764internal static List<DataTable>? t_usedTables;
6767private DataTable _targetTable;
6769internal void Prepare(DataTable table)
6780(t_usedTables ??= new List<DataTable>()).Add(table);
6829RowDiffIdUsageSection.t_usedTables ??= new List<DataTable>();
6833DataTable table = ds.Tables[tableIndex];
6855DataTable 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)
338DataTable? topTable = (DataTable?)_nodeToSchemaMap.GetSchemaForNode(e, FIgnoreNamespace(e));
369DataTable table = row.Table;
401if (schema is DataTable)
513if (schema != null && schema is DataTable)
522r = ((DataTable)schema).CreateEmptyRow();
610DataTable? table = _nodeToSchemaMap.GetSchemaForNode(_topMostNode, FIgnoreNamespace(_topMostNode)) as DataTable;
631DataTable? table = _nodeToSchemaMap.GetTableForNode(_dataReader, FIgnoreNamespace(_dataReader));
676private void LoadTopMostTable(DataTable table)
762DataTable? nestedTable = o as DataTable;
857private void LoadTable(DataTable table, bool isNested)
989DataTable? nestedTable = o as DataTable;
1008DataTable? misplacedTable = _nodeToSchemaMap.GetTableForNode(_dataReader, FIgnoreNamespace(_dataReader));
1298DataTable? nestedTable = o as DataTable;
1310DataTable? 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];
544internal void SchemaTree(XmlDocument xd, XmlWriter xmlWriter, DataSet? ds, DataTable? dt, bool writeHierarchy)
552DataTable[] top;
555DataTable _dt = dt!;
560foreach (DataTable table in ds.Tables)
774CreateRelations((DataTable)_tables[0]!);
941internal XmlElement SchemaTree(XmlDocument xd, DataTable dt)
1014internal XmlElement FillDataSetElement(XmlDocument xd, DataSet? ds, DataTable? dt)
1106internal void Save(DataTable dt, XmlWriter xw)
1119internal void Save(DataSet ds, DataTable? dt, XmlWriter xw)
1125internal void Save(DataSet? ds, DataTable? dt, XmlWriter xw, bool writeHierarchy)
1131internal void Save(DataSet? ds, DataTable? dt, XmlWriter xw, bool writeHierarchy, Converter<Type, string>? multipleTargetConverter)
1385private string FindTargetNamespace(DataTable table)
1395DataTable parentTable = nestedParentRelations[i].ParentTable;
1433DataTable _table = col.Table!;
1591internal XmlElement HandleTable(DataTable table, XmlDocument dc, XmlElement schema)
1599private static bool HasMixedColumns(DataTable table)
1717internal XmlElement HandleTable(DataTable table, XmlDocument dc, XmlElement schema, bool genNested)
1735DataTable _table = table;
1922DataTable childTable = childRelations[j].ChildTable;
2256internal DataTable? _dt;
2278internal NewDiffgramGen(DataTable dt, bool writeHierarchy)
2293private void CreateTableHierarchy(DataTable dt)
2313rows += ((DataTable)tables[i]!).Rows.Count;
2318DataTable dt = (DataTable)tables[i]!;
2330if (((DataTable)_tables[i]!).Rows.Count > 0)
2343internal void Save(XmlWriter xmlw, DataTable? table)
2372GenerateTable((DataTable)_tables[i]!);
2390GenerateTableErrors((DataTable)_tables[i]!);
2403private void GenerateTable(DataTable table)
2415private void GenerateTableErrors(DataTable table)
2492DataTable table = row.Table;
2667private readonly DataTable? _dt;
2670private readonly DataTable[] _topLevelTables;
2681foreach (DataTable table in ds.Tables)
2687internal XmlDataTreeWriter(DataTable dt, bool writeHierarchy)
2694_topLevelTables = new DataTable[] { dt };
2707_topLevelTables = new DataTable[] { dt };
2711private DataTable[] CreateToplevelTables()
2716DataTable table = (DataTable)_dTables[i]!;
2740return Array.Empty<DataTable>();
2743var temp = new DataTable[topTables.Count];
2748private void CreateTablesHierarchy(DataTable dt)
2806DataTable tempTable = ((DataTable)_dTables[i]!);
2814DataTable tempDT = ((DataTable)_dTables[i]!);
2863if (((DataTable)_dTables[i]!)._xmlText != null)
2885foreach (DataRow row in ((DataTable)_dTables[i]!).Rows)
2892XmlDataRowWriter(row, ((DataTable)_dTables[i]!).EncodedTableName);
2896DataTable 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;
643public void LoadSchema(XmlSchemaSet schemaSet, DataTable dt)
688_tableDictionary = new Dictionary<DataTable, List<DataTable>>();
691foreach (DataTable dt in ds.Tables)
808foreach (DataTable dt in ds!.Tables)
826DataTable? tmpTable = ds.Tables[ds.DataSetName, ds.Namespace];
895internal void HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, bool isBase)
911DataTable? child;
984internal void HandleAttributes(XmlSchemaObjectCollection attributes, DataTable table, bool isBase)
1005private void HandleAttributeGroup(XmlSchemaAttributeGroup attributeGroup, DataTable table, bool isBase)
1034internal void HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, bool isNillable)
1166internal static DataColumn FindField(DataTable table, string field)
1193internal static DataColumn[] BuildKey(XmlSchemaIdentityConstraint keyNode, DataTable table)
1285DataTable? table = _ds!.Tables.GetTableSmart(tableName, tableNs);
1342if (_tableDictionary!.TryGetValue(relation.ParentTable, out List<DataTable>? value))
1396DataTable? table = _ds!.Tables.GetTableSmart(tableName, tableNs);
1435internal DataTable InstantiateSimpleTable(XmlSchemaElement node)
1437DataTable? table;
1504_tableDictionary!.Add(table, new List<DataTable>());
1548internal DataTable InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, bool isRef)
1550DataTable? table;
1628_tableDictionary!.Add(table, new List<DataTable>());
1670foreach (DataTable _tableChild in tableChildren)
1753if (_tableDictionary!.TryGetValue(relation.ParentTable, out List<DataTable>? value))
1947internal void HandleSimpleTypeSimpleContentColumn(XmlSchemaSimpleType typeNode, string strType, DataTable table, bool isBase, XmlAttribute[]? attrs, bool isNillable)
2084internal void HandleSimpleContentColumn(string strType, DataTable table, bool isBase, XmlAttribute[]? attrs, bool isNillable)
2185internal void HandleAttributeColumn(XmlSchemaAttribute attrib, DataTable table, bool isBase)
2348internal void HandleElementColumn(XmlSchemaElement elem, DataTable table, bool isBase)
2554List<DataTable> tableSequenceList = new List<DataTable>();
2631DataTable? tempTable = _ds.Tables.GetTable(XmlConvert.DecodeName(GetInstanceName((XmlSchemaElement)el)), node.QualifiedName.Namespace);
2649DataTable? child = HandleTable((XmlSchemaElement)el);
2673DataTable child = HandleTable((XmlSchemaElement)choiceEl)!;
2706List<DataTable> _tableList = new List<DataTable>(_ds.Tables.Count);
2707foreach (DataTable dt in tableSequenceList)
2715private void AddTablesToList(List<DataTable> tableList, DataTable dt)
2720foreach (DataTable childTable in _tableDictionary![dt])
2837internal DataTable? HandleTable(XmlSchemaElement node)
2849DataTable table = InstantiateTable(node, (XmlSchemaComplexType)typeNode!, (node.RefName != null)); // this is wrong , correct check should be node.RefName.IsEmpty