1 instantiation of ConstraintCollection
System.Data.Common (1)
System\Data\DataTable.cs (1)
173_constraintCollection = new ConstraintCollection(this);
19 references to ConstraintCollection
netstandard (1)
netstandard.cs (1)
484[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.ConstraintCollection))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
58[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.ConstraintCollection))]
System.Data.Common (17)
System\Data\Constraint.cs (3)
26/// The name of this constraint within the <see cref='System.Data.ConstraintCollection'/>. 107internal abstract void CheckCanAddToCollection(ConstraintCollection constraint); 108internal abstract bool CanBeRemovedFromCollection(ConstraintCollection constraint, bool fThrowException);
System\Data\ConstraintCollection.cs (2)
264/// Occurs when the <see cref='System.Data.ConstraintCollection'/> is changed through additions or 653/// Raises the <see cref='System.Data.ConstraintCollection.CollectionChanged'/> event.
System\Data\DataSet.cs (4)
1182ConstraintCollection constraints = tbls[i].Constraints; 3293ConstraintCollection cons = Tables[i].Constraints; 3333ConstraintCollection? constraints; 3373ConstraintCollection? constraints;
System\Data\DataTable.cs (2)
51private readonly ConstraintCollection _constraintCollection; 1204public ConstraintCollection Constraints => _constraintCollection;
System\Data\ForeignKeyConstraint.cs (2)
145internal override void CheckCanAddToCollection(ConstraintCollection constraints) 157internal override bool CanBeRemovedFromCollection(ConstraintCollection constraints, bool fThrowException) => true;
System\Data\ProviderBase\SchemaMapping.cs (1)
1088ConstraintCollection constraints = _dataTable.Constraints;
System\Data\UniqueConstraint.cs (2)
181internal override void CheckCanAddToCollection(ConstraintCollection constraints) 185internal override bool CanBeRemovedFromCollection(ConstraintCollection constraints, bool fThrowException)
System\Data\xmlsaver.cs (1)
1987ConstraintCollection constraints = table.Constraints;