public virtual string ColumnToConstraintsSql(string tableName, Column column) { if (column.IsPrimaryKey) { return(String.Format("CONSTRAINT PK_{0}_{1} PRIMARY KEY (\"{1}\")", SchemaUtils.Normalize(tableName), SchemaUtils.Normalize(column.Name))); } else if (column.IsUnique) { return(String.Format("CONSTRAINT UK_{0}_{1} UNIQUE (\"{1}\" ASC)", SchemaUtils.Normalize(tableName), SchemaUtils.Normalize(column.Name))); } return(null); }