Beispiel #1
0
        public static WhereClip operator |(WhereClip left, WhereClip right)
        {
            Check.Require(((object)left) != null, "left could not be null.");
            Check.Require(((object)right) != null, "right could not be null.");

            WhereClip newWhere = new WhereClip();

            newWhere.Or(left);
            newWhere.Or(right);
            return(newWhere);
        }
Beispiel #2
0
        public static WhereClip operator !(WhereClip right)
        {
            WhereClip newWhere = new WhereClip();

            newWhere.Or(right).Not();
            return(newWhere);
        }