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