71 references to
System.Data (71)
fx\src\data\System\Data\CodeGen\datacache.cs (15)
1022dataSetClass.Members.Add(FieldDecl(TableClassName(dataSet.Tables[i]), TableFieldName(dataSet.Tables[i]))); 1071If(IdNotEQ(Indexer(Property(Variable("ds"),"Tables"),Str(dataSet.Tables[i].TableName)),Primitive(null)), 1072Stm(MethodCall(Property(This(), "Tables"), "Add", New(TableClassName(dataSet.Tables[i]), new CodeExpression[] {Indexer(Property(Variable("ds"),"Tables"),Str(dataSet.Tables[i].TableName))}))) 1144CodeExpression fieldTable = Field(This(), TableFieldName(dataSet.Tables[i])); 1146initClassMethod.Statements.Add(Assign(fieldTable, New(TableClassName(dataSet.Tables[i]), new CodeExpression[] {}))); 1153initVarsMethod.Statements.Add(Assign(fieldTable, Cast(TableClassName(dataSet.Tables[i]), Indexer(Property(This(),"Tables"),Str(dataSet.Tables[i].TableName))))); 1230If(IdNotEQ(Indexer(Property(Variable("ds"),"Tables"),Str(dataSet.Tables[i].TableName)),Primitive(null)), 1231Stm(MethodCall(Property(This(), "Tables"), "Add", New(TableClassName(dataSet.Tables[i]), new CodeExpression[] {Indexer(Property(Variable("ds"),"Tables"),Str(dataSet.Tables[i].TableName))}))) 1358string TableProperty = TablePropertyName(dataSet.Tables[i]); 1359CodeMemberProperty prop = PropertyDecl(TableClassName(dataSet.Tables[i]), TableProperty, MemberAttributes.Public | MemberAttributes.Final); { 1366prop.GetStatements.Add(Return(Field(This(), TableFieldName(dataSet.Tables[i]))));
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
154return tables[index];
fx\src\data\System\Data\DataSet.cs (38)
134Tables[i].RemotingFormat = value; 297bf.Serialize(memStream, Tables[i]); 304Tables[i].SerializeConstraints(info, context, i, true); 312Tables[i].SerializeExpressionColumns(info, context, i); 321Tables[i].SerializeTableData(info, context, i); 370Tables[i].DeserializeConstraints(info, context, /* table index */i, /* serialize all constraints */ true); // 378Tables[i].DeserializeExpressionColumns(info, context, i); 397Tables[i].DeserializeTableData(info, context, i); 493parentkeyColumns[i] = Tables[parentInfo[0]].Columns[parentInfo[i + 1]]; 499childkeyColumns[i] = Tables[childInfo[0]].Columns[childInfo[i + 1]]; 754if (Tables[i].HasErrors) 846if (!Tables[i].ShouldSerializeLocale()) { 847Tables[i].SetLocaleValue(oldLocale, false, true); 889if (Tables[i].Site != null) { 890cont.Remove(Tables[i]); 991Tables[i].AcceptChanges(); 1062Tables[i].Columns.FinishInitCollection(); 1066Tables[i].Constraints.FinishInitConstraints(); 1087Tables[i].Clear(); 1125DataTable dt = tbls[i].Clone(ds); 1126dt.tableNamespace = tbls[i].Namespace; // hardcode the namespace for a second to not mess up 1133ConstraintCollection constraints = tbls[i].Constraints; 1140ds.Tables[i].Constraints.Add(constraints[j].Clone(ds)); 1166ds.Tables[i].tableNamespace = tbls[i].tableNamespace; // undo the hardcoding of the namespace 1210Int32 rowBytes = (Tables[i].TableName.Length + 4) << 2; 1211DataTable table = Tables[i]; 1268bitMatrix[i] = new TableChanges(Tables[i].Rows.Count); 1284DataTable table = this.Tables[i]; 1310DataRowCollection rows = Tables[tableIndex].Rows; 1460DataTable table = Tables[i]; 2960DataTable table = Tables[i]; 2967DataTable table = Tables[i]; 2990Tables[i].RejectChanges(); 3009ConstraintCollection cons = Tables[i].Constraints; 3043constraints = Tables[i].Constraints; 3073constraints = Tables[i].Constraints; 3444dataTables[i] = Tables[i];
fx\src\data\System\Data\DataTable.cs (5)
578DataTable parentTable = (allConstraints == false) ? this : this.DataSet.Tables[parentInfo[0]]; 585DataTable childTable = (allConstraints == false) ? this : this.DataSet.Tables[childInfo[0]]; 5744currentTable = ds.Tables[tableIndex]; 6094DataTable table = ds.Tables[tableIndex]; 6116DataTable table = _targetDS.Tables[tableIndex];
fx\src\data\System\Data\DataTableCollection.cs (1)
711DataTable dt = this[index];
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
134props[i] = new DataTablePropertyDescriptor(dataSet.Tables[i]);
fx\src\data\System\Data\DataViewSettingCollection.cs (1)
65dt = ds.Tables[index];
fx\src\data\System\Data\ForeignKeyConstraint.cs (2)
626DataTable table = destination.Tables[iDest]; 635DataTable relatedTable = destination.Tables[iDest];
fx\src\data\System\Data\Merger.cs (2)
70MergeTableData(source.Tables[i]); // since column expression might have dependency on relation, we do not set 388MergeConstraints(source.Tables[i]);
fx\src\data\System\Data\UniqueConstraint.cs (1)
268DataTable table = destination.Tables[iDest];
fx\src\data\System\Data\xmlsaver.cs (4)
309DataTable table = ds.Tables[t]; 1978_tables.Add(ds.Tables[i]); 2054GenerateTable(_ds.Tables[i]); 2068GenerateTableErrors(_ds.Tables[i]);