Where- IN in .net library

Where- IN in .net library

sarooptrivedisarooptrivedi Posts: 45Questions: 15Answers: 2
edited June 2022 in Free community support

I am working with Editor Library and I am not finding out where with in parameter like PHP has.

where( 'orderstatus', '(1,2,3)', 'IN', false );

This Where in .Net Editor Libray

  public Editor Where(Action<Query> fn)
        {
            _where.Add(new WhereCondition
            {
                Custom = fn
            });
            return this;
        }

        public Editor Where(string key, object value, string op = "=")
        {
            _where.Add(new WhereCondition
            {
                Key = key,
                Value = value,
                Operator = op
            });
            return this;
        }

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    This section of the .NET docs pages should get you going - if not, please let us know,

    Colin

Sign In or Register to comment.