14 references to Table
System.Data.Common (14)
System\Data\ConstraintCollection.cs (9)
109if (Table._primaryKey != null) 142Table.PrimaryKey = ((UniqueConstraint)constraint).ColumnsReference; 157Table.PrimaryKey = columns; 170Table.PrimaryKey = constraint.ColumnsReference; 386for (int i = 0; i < Table.ChildRelations.Count; i++) 388DataRelation rel = Table.ChildRelations[i]; 396for (int i = 0; i < Table.ParentRelations.Count; i++) 398DataRelation rel = Table.ParentRelations[i]; 700Table.PrimaryKey = null;
System\Data\ForeignKeyConstraint.cs (2)
147if (Table != constraints.Table) 149throw ExceptionBuilder.ConstraintAddFailed(constraints.Table);
System\Data\UniqueConstraint.cs (3)
187if (Equals(constraints.Table._primaryKey)) 189Debug.Assert(constraints.Table._primaryKey == this, "If the primary key and this are 'Equal', they should also be '=='"); 193throw ExceptionBuilder.RemovePrimaryKey(constraints.Table);