Base:
property
List
System.Data.InternalDataCollectionBase.List
29 references to List
System.Data.Common (29)
System\Data\ConstraintCollection.cs (29)
49if (index >= 0 && index < List.Count) 51return (Constraint)List[index]!; 74return (index < 0) ? null : (Constraint)List[index]!; 285List.Add(constraint); 290List.Remove(constraint); 352List.Remove(oldArray[oldCur]); 361List.Add(newArray[newCur]); 442int oldLength = List.Count; 444Constraint[] constraints = new Constraint[List.Count]; 445List.CopyTo(constraints, 0); 455List.Clear(); 458List.Add(constraints[i]); 463List.Clear(); 482return (name == ((Constraint)List[index]!).ConstraintName); 504int constraintCount = List.Count; 507if (((Constraint)List[i]!).Equals(constraint)) 508return (Constraint)List[i]!; 518int constraintCount = List.Count; 521UniqueConstraint? constraint = (List[i] as UniqueConstraint); 535int constraintCount = List.Count; 538UniqueConstraint? constraint = (List[i] as UniqueConstraint); 550int constraintCount = List.Count; 553ForeignKeyConstraint? constraint = (List[i] as ForeignKeyConstraint); 599if (constraint == (Constraint)List[i]!) 625int constraintCount = List.Count; 628Constraint constraint = (Constraint)List[i]!; 669int constraintCount = List.Count; 672if (NamesEqual(name, ((Constraint)List[i]!).ConstraintName, true, _table.Locale) != 0) 674throw ExceptionBuilder.DuplicateConstraintName(((Constraint)List[i]!).ConstraintName);