1 write to _key
System.Data.Common (1)
System\Data\UniqueConstraint.cs (1)
384
_key
= new DataKey(columns, true);
15 references to _key
System.Data.Common (15)
System\Data\UniqueConstraint.cs (15)
122
return
_key
.GetColumnNames();
148
Debug.Assert(DataKey.ColumnsEqual(
_key
.ColumnsReference, sortIndexColumns), "UniqueConstraint index columns do not match the key sort index");
164
_constraintIndex =
_key
.GetSortIndex();
178
_key
.CheckState();
198
if (!
_key
.ColumnsEqual(constraint.ParentKey))
232
string error = ExceptionBuilder.UniqueConstraintViolationText(
_key
.ColumnsReference, (object[])uniqueKeys[i]);
236
foreach (DataColumn dataColumn in
_key
.ColumnsReference)
268
return
_key
.ContainsColumn(column);
348
return
_key
.ToArray();
356
return
_key
.ColumnsReference;
410
if (
_key
.ColumnsReference.Length == 1)
412
_key
.ColumnsReference[0].InternalUnique(value);
421
return
_key
;
433
if (
_key
.HasValue)
435
return
_key
.Table;