internal ForeignKeyConstraint(ObjectName name, Table table, ConstraintType constraintType, IEnumerable<Column> keyColumns,
     TableConstraint uniqueConstraint, ForeignKeyRule updateRule, ForeignKeyRule deleteRule, bool? isDisabled)
     : base(name, table, constraintType, keyColumns)
 {
     _uniqueConstraint = uniqueConstraint;
     _updateRule = updateRule;
     _deleteRule = deleteRule;
     _isDisabled = isDisabled;
 }
Exemplo n.º 2
0
 internal void AddTableConstraint(TableConstraint constraint)
 {
     _tableConstraints[constraint.Name] = constraint;
 }