Esempio n. 1
0
        private void CreateExpression(Enums.WhereType type, string column, string value, string prefix = "", string postfix = "")
        {
            Where exp = new Where(type, this.LogicOperator)
            {
                Column   = column,
                IsColumn = true,
                Value    = value,
                Prefix   = prefix,
                Postfix  = postfix,
            };

            this.Append(exp);
        }
Esempio n. 2
0
 public Where(Enums.WhereType type, Enums.WhereLogic logic, Enums.Parenthesis parenthesis = Enums.Parenthesis.None)
 {
     this.Type        = type;
     this.Logic       = logic;
     this.Parenthesis = parenthesis;
 }