示例#1
0
        public override bool Equals(object obj)
        {
            IWhere other = obj as IWhere;

            if (other == null || GetSql() != other.GetSql())
            {
                return(false);
            }
            SetComparer <IDataParameter> comparer = new SetComparer <IDataParameter>(Parameters, other.Parameters);

            return(comparer.AreEqual);
        }