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

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

                return new AlterTableStatement(tableName, action);
            }