public override object Clone()
        {
            SQLiteColumnType type = null;

            if (_type != null)
            {
                type = (SQLiteColumnType)_type.Clone();
            }
            List <SQLiteColumnConstraint> conslist = null;

            if (_conslist != null)
            {
                conslist = new List <SQLiteColumnConstraint>();
                foreach (SQLiteColumnConstraint cc in _conslist)
                {
                    conslist.Add((SQLiteColumnConstraint)cc.Clone());
                }
            }

            SQLiteObjectName name = null;

            if (this.ObjectName != null)
            {
                name = (SQLiteObjectName)this.ObjectName.Clone();
            }

            SQLiteColumnStatement res = new SQLiteColumnStatement(name);

            res._conslist = conslist;
            res._type     = type;
            return(res);
        }
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            SQLiteColumnStatement dst = obj as SQLiteColumnStatement;

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

            if (!RefCompare.Compare(_type, dst._type))
            {
                return(false);
            }
            if (!RefCompare.CompareList <SQLiteColumnConstraint>(_conslist, dst._conslist))
            {
                return(false);
            }

            return(base.Equals(obj));
        }