add_unique_constraint


Description:

protected void add_unique_constraint (string name, string[] columns) throws EntityError

Create a unique constraint corresponding to a database-provided unique constraint.

Parameters:

name Name of constraint
columns Array of strings containing column names