예제 #1
0
        private void ParseOperand(PXGraph graph, List <IBqlParameter> pars, List <Type> tables, List <Type> fields, List <IBqlSortColumn> sortColumns, StringBuilder text, PX.Data.BqlCommand.Selection selection)
        {
            BqlCommand.EqualityList list = fields as BqlCommand.EqualityList;
            if (list != null)
            {
                list.NonStrict = true;
            }
            if (!typeof(IBqlCreator).IsAssignableFrom(typeof(UserID)))
            {
                if (graph != null && text != null)
                {
                    text.Append(" ").Append(BqlCommand.GetSingleField(typeof(UserID), graph, tables, selection, BqlCommand.FieldPlace.Condition));
                }

                if (fields != null)
                {
                    fields.Add(typeof(UserID));
                }
            }
            else
            {
                if (_operand == null)
                {
                    _operand = _operand.createOperand <UserID>();
                }
                _operand.Parse(graph, pars, tables, fields, sortColumns, text, selection);
            }
        }
 public void Parse(PXGraph graph, List <IBqlParameter> pars, List <Type> tables, List <Type> fields, List <IBqlSortColumn> sortColumns, StringBuilder text, BqlCommand.Selection selection)
 => exists.Parse(graph, pars, tables, fields, sortColumns, text, selection);