26 references to Key
System.Data (26)
fx\src\data\System\Data\ConstraintCollection.cs (3)
471
if ((null != constraint) && CompareArrays(constraint.
Key
.ColumnsReference, columns)) {
485
if ((null != constraint) && (constraint.
Key
.ColumnsReference.Length == 1) && (constraint.
Key
.ColumnsReference[0] == column))
fx\src\data\System\Data\DataColumnCollection.cs (1)
442
if (table.primaryKey != null && table.primaryKey.
Key
.ContainsColumn(column)) {
fx\src\data\System\Data\DataTable.cs (9)
1534
return primayKeyConstraint.
Key
.ToArray();
1575
key.ColumnsReference.CopyTo(existingKey.
Key
.ColumnsReference, 0);
1607
_primaryIndex = (key != null) ? key.
Key
.GetIndexDesc() : zeroIndexField;
2791
return FindRow(primaryKey.
Key
, values);
2796
return FindRow(primaryKey.
Key
, value);
4146
loadIndex = primaryKey.
Key
.GetSortIndex(DataViewRowState.OriginalRows);
4264
loadIndexwithCurrentDeleted = this.primaryKey.
Key
.GetSortIndex(DataViewRowState.CurrentRows |DataViewRowState.Deleted);
4274
loadIndexwithOriginalAdded = this.primaryKey.
Key
.GetSortIndex(DataViewRowState.OriginalRows |DataViewRowState.Added);
4302
index = this.primaryKey.
Key
.GetSortIndex(DataViewRowState.OriginalRows);
fx\src\data\System\Data\Merger.cs (4)
183
ndxSearch = dst.primaryKey.
Key
.GetSortIndex(DataViewRowState.OriginalRows | DataViewRowState.Added );
244
ndxSearch = new Index(dst, dst.primaryKey.
Key
.GetIndexDesc(), DataViewRowState.OriginalRows | DataViewRowState.Added, (IFilter)null);
543
return src.primaryKey.
Key
;
547
DataColumn[] dstColumns = dst.primaryKey.
Key
.ColumnsReference;
fx\src\data\System\Data\UniqueConstraint.cs (2)
369
return
Key
.ColumnsEqual(((UniqueConstraint)key2).
Key
);
fx\src\data\System\Data\xmlsaver.cs (7)
398
if(autogenerated[_constraint.
Key
.ColumnsReference[0]] != null)
399
autogenerated[_constraint.
Key
.ColumnsReference[0]] = null;
407
if (autogenerated[unique.
Key
.ColumnsReference[0]] != null)
408
autogenerated[unique.
Key
.ColumnsReference[0]] = null;
1425
if (unique.
Key
.ColumnsReference.Length !=1)
1429
return AutoGenerated(unique.
Key
.ColumnsReference[0]);
1725
fields = unique.
Key
.ColumnsReference;