/// <summary>Engloba la expresión en una funcion de sql</summary> public Expression Fun(dbFun funct, params string[] extraParams) { if (extraParams != null && extraParams.Length > 0) { foreach (string prm in extraParams) { if (funct == dbFun.Cast) { Operate(dbOpe.As, prm); } else { Operate(dbOpe.Comma, prm); } } } return(new Expression(funct, this)); }
private Expression(dbFun funct, Expression expr) { particles.Add(new Particle(funct, expr)); }
public Particle(dbFun funct, Expression expr) { Operation = dbOpe.Funct; Funct = funct; SetValue(expr); }