예제 #1
0
        internal ConditionStatement ParseOrderByCondition(SqlBuildingContext context)
        {
            if (context.QueryFilter != null)
            {
                return(ConditionStatementParser.ParseOrderByClauses(context.QueryFilter.OrderByCondition,
                                                                    context.Node, context.DataObject));
            }

            return(null);
        }
예제 #2
0
        internal FilterConditionStatement ParseFilterCondition(SelectSqlStatement sql, SqlBuildingContext context)
        {
            if (context.QueryFilter != null)
            {
                var filter = ConditionStatementParser.ParseFiletrClauses(sql, context.QueryFilter.FilterClauses,
                                                                         context.Node, context.DataObject);



                return(filter);
            }

            return(null);
        }