private void CheckConstraint(Func <DbCommand> commandCreator, AbstractConstraint constraint)
 {
     constraint.Accept(fkc => CheckConstraint(commandCreator, fkc), uc => CheckConstraint(commandCreator, uc), cc => CheckConstraint(commandCreator, cc));
 }
Beispiel #2
0
 /// <summary>
 /// SQL-92, page 270
 /// </summary>
 private string _TableConstraint(AbstractConstraint constraint)
 {
     return(constraint.Accept <string>(_ReferentialConstraintDefinition, _UniqueConstraintDefinition, _CheckConstraintDefinition));
 }