2 writes to _columns
System.Data.Common (2)
System\Data\DataKey.cs (2)
53
_columns
= new DataColumn[columns.Length];
62
_columns
= columns;
29 references to _columns
System.Data.Common (29)
System\Data\DataKey.cs (29)
56
_columns
[i] = columns[i];
67
internal DataColumn[] ColumnsReference =>
_columns
;
68
internal bool HasValue => null !=
_columns
;
69
internal DataTable Table =>
_columns
[0].Table!;
72
DataTable? table =
_columns
[0].Table;
79
for (int i = 1; i <
_columns
.Length; i++)
81
if (
_columns
[i].Table == null)
85
if (
_columns
[i].Table != table)
93
internal bool ColumnsEqual(DataKey key) => ColumnsEqual(
_columns
, key.
_columns
);
135
for (int i = 0; i <
_columns
.Length; i++)
137
if (column ==
_columns
[i])
160
DataColumn[] column1 =
_columns
;
161
DataColumn[] column2 = value.
_columns
;
179
string[] values = new string[
_columns
.Length];
180
for (int i = 0; i <
_columns
.Length; ++i)
182
values[i] =
_columns
[i].ColumnName;
189
IndexField[] indexDesc = new IndexField[
_columns
.Length];
190
for (int i = 0; i <
_columns
.Length; i++)
192
indexDesc[i] = new IndexField(
_columns
[i], false);
199
object[] values = new object[
_columns
.Length];
200
for (int i = 0; i <
_columns
.Length; i++)
202
values[i] =
_columns
[i][record];
212
return
_columns
[0].Table!.GetIndex(indexDesc, recordStates, null);
217
for (int i = 0; i <
_columns
.Length; i++)
219
if (
_columns
[i].Compare(record1, record2) != 0)
229
DataColumn[] values = new DataColumn[
_columns
.Length];
230
for (int i = 0; i <
_columns
.Length; ++i)
232
values[i] =
_columns
[i];