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