Inheritance: AlterTableAction
        private static SqlStatement MakeAlterTableAddConstraint(string tableName, SqlTableConstraint constraint)
        {
            var action = new AddConstraintAction(constraint);

            return new AlterTableStatement(ObjectName.Parse(tableName), action);
        }
Exemple #2
0
            private static SqlStatement MakeAlterTableAddConstraint(string tableName, ConstraintInfo constraint)
            {
                var action = new AddConstraintAction(constraint);

                return new AlterTableStatement(tableName, action);
            }