Beispiel #1
0
        public Q WhereExists(Query query)
        {
            if (!query.Has("from"))
            {
                throw new ArgumentException(@"""FromClause"" cannot be empty if used inside of a ""WhereExists"" condition");
            }

            return(Add("where", new ExistsCondition <Query>
            {
                Query = query,
                IsNot = getNot(),
                IsOr = getOr(),
            }));
        }