14 references to Table
System.Data (14)
fx\src\data\System\Data\ConstraintCollection.cs (9)
113
if (
Table
.primaryKey != null) {
141
Table
.PrimaryKey = ((UniqueConstraint)constraint).ColumnsReference;
155
Table
.PrimaryKey = columns;
167
Table
.PrimaryKey = constraint.ColumnsReference;
351
for (int i = 0; i <
Table
.ChildRelations.Count; i++) {
352
DataRelation rel =
Table
.ChildRelations[i];
359
for (int i = 0; i <
Table
.ParentRelations.Count; i++) {
360
DataRelation rel =
Table
.ParentRelations[i];
627
Table
.PrimaryKey = null;
fx\src\data\System\Data\ForeignKeyConstraint.cs (2)
175
if (Table != constraints.
Table
)
176
throw ExceptionBuilder.ConstraintAddFailed(constraints.
Table
);
fx\src\data\System\Data\UniqueConstraint.cs (3)
180
if (this.Equals(constraints.
Table
.primaryKey)) {
181
Debug.Assert(constraints.
Table
.primaryKey == this, "If the primary key and this are 'Equal', they should also be '=='");
185
throw ExceptionBuilder.RemovePrimaryKey(constraints.
Table
);