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)
122return _key.GetColumnNames(); 148Debug.Assert(DataKey.ColumnsEqual(_key.ColumnsReference, sortIndexColumns), "UniqueConstraint index columns do not match the key sort index"); 164_constraintIndex = _key.GetSortIndex(); 178_key.CheckState(); 198if (!_key.ColumnsEqual(constraint.ParentKey)) 232string error = ExceptionBuilder.UniqueConstraintViolationText(_key.ColumnsReference, (object[])uniqueKeys[i]); 236foreach (DataColumn dataColumn in _key.ColumnsReference) 268return _key.ContainsColumn(column); 348return _key.ToArray(); 356return _key.ColumnsReference; 410if (_key.ColumnsReference.Length == 1) 412_key.ColumnsReference[0].InternalUnique(value); 421return _key; 433if (_key.HasValue) 435return _key.Table;