Example #1
0
        public IDetachedQuery TransformToRowCount()
        {
            Select s = new Select("count(*)");

            s.SetFrom(from.FromWhereClause());
            DetachedQuery result = new DetachedQuery(s.Clause);

            result.CopyParametersFrom(this);
            return(result);
        }