public virtual object Clone()
        {
            SQLiteColumnConstraint res = new SQLiteColumnConstraint();

            res._name = _name;
            return(res);
        }
        public override string ToString()
        {
            StringBuilder clist = new StringBuilder();

            if (_conslist != null)
            {
                clist.Append(" ");
                for (int i = 0; i < _conslist.Count; i++)
                {
                    SQLiteColumnConstraint cc = _conslist[i];
                    clist.Append(cc.ToString());
                    if (i < _conslist.Count - 1)
                    {
                        clist.Append(" ");
                    }
                } // foreach
            }

            if (_type.ToString().Length > 0)
            {
                return(base.ObjectName.ToString() + " " + _type.ToString() + clist.ToString());
            }
            else if (clist.ToString().Length > 0)
            {
                return(base.ObjectName.ToString() + clist.ToString());
            }
            else
            {
                return(base.ObjectName.ToString());
            }
        }
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            SQLiteColumnConstraint dst = obj as SQLiteColumnConstraint;

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

            return(_name == dst._name);
        }