1 write to key
System.Data (1)
fx\src\data\System\Data\UniqueConstraint.cs (1)
356
this.
key
= new DataKey(columns, true);
15 references to key
System.Data (15)
fx\src\data\System\Data\UniqueConstraint.cs (15)
125
return
key
.GetColumnNames();
148
Debug.Assert(DataKey.ColumnsEqual(
key
.ColumnsReference, sortIndexColumns), "UniqueConstraint index columns do not match the key sort index");
161
_constraintIndex =
key
.GetSortIndex();
173
key
.CheckState();
189
if (!
key
.ColumnsEqual(constraint.ParentKey))
219
string error = ExceptionBuilder.UniqueConstraintViolationText(
key
.ColumnsReference, (object[])uniqueKeys[i]);
223
foreach(DataColumn dataColumn in
key
.ColumnsReference){
250
return
key
.ContainsColumn(column);
323
return
key
.ToArray();
329
return
key
.ColumnsReference;
379
if (
key
.ColumnsReference.Length == 1) {
380
key
.ColumnsReference[0].InternalUnique(value);
387
return
key
;
401
if (
key
.HasValue) {
402
return
key
.Table;