public void addConstraint(DB.Constraint constraint) { if (this.constraints != null) this._constraints.Add((Constraint) constraint); }