10 instantiations of DataKey
System.Data (10)
fx\src\data\System\Data\DataRelation.cs (2)
673this.parentKey = new DataKey(parentColumns, true); 674this.childKey = new DataKey(childColumns, true);
fx\src\data\System\Data\DataRow.cs (2)
884DataKey key = new DataKey(columns, false); // temporary key, don't copy columns 1030DataKey key = new DataKey(columns, false); // temporary key, don't copy columns
fx\src\data\System\Data\ForeignKeyConstraint.cs (2)
720this.parentKey = new DataKey(parentColumns, true); 721this.childKey = new DataKey(childColumns, true);
fx\src\data\System\Data\Merger.cs (1)
553key = new DataKey(srcColumns, false); // DataKey will take ownership of srcColumns
fx\src\data\System\Data\RelatedView.cs (2)
26this.childKey = new DataKey(columns, true); 37this.childKey = new DataKey(childKeyColumns, true);
fx\src\data\System\Data\UniqueConstraint.cs (1)
356this.key = new DataKey(columns, true);
52 references to DataKey
System.Data (51)
fx\src\data\System\Data\DataColumn.cs (2)
1525DataKey key = relation.ChildKey; 1601DataKey key;
fx\src\data\System\Data\DataKey.cs (8)
95internal bool ColumnsEqual(DataKey key) { 96return ColumnsEqual(this.columns, ((DataKey)key).columns); 140public static bool operator==(DataKey x, DataKey y) { 144public static bool operator!=(DataKey x, DataKey y) { 150return Equals((DataKey)value); 153internal bool Equals(DataKey value) {
fx\src\data\System\Data\DataRelation.cs (10)
57private DataKey childKey; 58private DataKey parentKey; 188internal DataKey ChildKey { 244internal static DataRow[] GetChildRows(DataKey parentKey, DataKey childKey, DataRow parentRow, DataRowVersion version) { 257internal static DataRow[] GetParentRows(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version) { 267internal static DataRow GetParentRow(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version) { 337internal DataKey ParentKey {
fx\src\data\System\Data\DataRelationCollection.cs (1)
701DataKey childKey = relation.ChildKey;
fx\src\data\System\Data\DataRow.cs (7)
884DataKey key = new DataKey(columns, false); // temporary key, don't copy columns 888internal object[] GetKeyValues(DataKey key) { 893internal object[] GetKeyValues(DataKey key, DataRowVersion version) { 980internal bool HasKeyChanged(DataKey key) { 984internal bool HasKeyChanged(DataKey key, DataRowVersion version1, DataRowVersion version2) { 1030DataKey key = new DataKey(columns, false); // temporary key, don't copy columns 1132internal void SetKeyValues(DataKey key, object[] keyValues) {
fx\src\data\System\Data\DataTable.cs (5)
1975internal void SetKeyValues(DataKey key, object[] keyValues, int record) { 1989internal DataRow FindMergeTarget(DataRow row, DataKey key, Index ndx) { 2799private DataRow FindRow(DataKey key, object[] values) { 2807private DataRow FindRow(DataKey key, object value) { 3064private IndexField [] NewIndexDesc(DataKey key) {
fx\src\data\System\Data\ForeignKeyConstraint.cs (4)
34private DataKey childKey; 35private DataKey parentKey; 121internal DataKey ChildKey { 802internal DataKey ParentKey {
fx\src\data\System\Data\Merger.cs (7)
177DataKey key = default(DataKey); 205DataKey key = default(DataKey); 541private DataKey GetSrcKey(DataTable src, DataTable dst) { 545DataKey key = default(DataKey);
fx\src\data\System\Data\RecordManager.cs (1)
173internal void SetKeyValues(int record, DataKey key, object[] keyValues) {
fx\src\data\System\Data\RelatedView.cs (3)
14private readonly Nullable<DataKey> parentKey; 15private readonly DataKey childKey; 33public RelatedView(DataRowView parentRowView, DataKey parentKey, DataColumn[] childKeyColumns) : base(childKeyColumns[0].Table, false) {
fx\src\data\System\Data\UniqueConstraint.cs (3)
25private DataKey key; 148Debug.Assert(DataKey.ColumnsEqual(key.ColumnsReference, sortIndexColumns), "UniqueConstraint index columns do not match the key sort index"); 385internal DataKey Key {
System.Web (1)
UI\WebControls\DataKeyCollection.cs (1)
70/// <para>Gets a <see cref='System.Data.DataKey' qualify='true'/> at the specified index in the collection. This property is read-only.</para>