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