Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ MarkModifiedRows()

void System.Data.DataSet.MarkModifiedRows ( TableChanges[] bitMatrix,
DataRowState rowStates )
inlineprivate

Definition at line 1157 of file DataSet.cs.

1158 {
1159 for (int i = 0; i < bitMatrix.Length; i++)
1160 {
1161 DataRowCollection rows = Tables[i].Rows;
1162 int count = rows.Count;
1163 for (int j = 0; j < count; j++)
1164 {
1165 DataRow dataRow = rows[j];
1166 DataRowState rowState = dataRow.RowState;
1167 if ((rowStates & rowState) != 0 && !bitMatrix[i][j])
1168 {
1169 bitMatrix[i][j] = true;
1170 if (DataRowState.Deleted != rowState)
1171 {
1173 }
1174 }
1175 }
1176 }
1177 }
DataTableCollection Tables
Definition DataSet.cs:396
void MarkRelatedRowsAsModified(TableChanges[] bitMatrix, DataRow row)
Definition DataSet.cs:1179

References System.count, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Runtime.Serialization.Dictionary, System.Data.DataSet.MarkRelatedRowsAsModified(), and System.Data.DataSet.Tables.

Referenced by System.Data.DataSet.GetChanges().