public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            SQLiteUniqueTableConstraint dst = obj as SQLiteUniqueTableConstraint;

            if (dst == null)
            {
                return(false);
            }

            if (this._conf != dst._conf)
            {
                return(false);
            }
            if (!RefCompare.CompareList <SQLiteIndexedColumn>(_columns, dst._columns))
            {
                return(false);
            }

            return(base.Equals(obj));
        }
        public override object Clone()
        {
            List <SQLiteIndexedColumn> columns = null;

            if (_columns != null)
            {
                columns = new List <SQLiteIndexedColumn>();
                foreach (SQLiteIndexedColumn c in _columns)
                {
                    columns.Add((SQLiteIndexedColumn)c.Clone());
                }
            }

            SQLiteUniqueTableConstraint res = new SQLiteUniqueTableConstraint(this.ConstraintName);

            res._conf    = _conf;
            res._columns = columns;
            return(res);
        }