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

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

                return new AlterTableStatement(tableName, action);
            }