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