public override Net.Vpc.Upa.Impl.Uql.Compiledexpression.DefaultCompiledExpression Copy() { Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledDateTrunc o = new Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledDateTrunc(GetDatePartType(), GetValue().Copy()); o.SetDescription(GetDescription()); o.GetClientParameters().SetAll(GetClientParameters()); return(o); }
protected internal virtual Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledDateTrunc CompileDateTrunc(Net.Vpc.Upa.Expressions.DateTrunc v, Net.Vpc.Upa.Impl.Uql.ExpressionTranslationManager manager, Net.Vpc.Upa.Impl.Uql.ExpressionDeclarationList declarations) { if (v == null) { return(null); } Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledDateTrunc s = new Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledDateTrunc(v.GetDatePartType(), manager.TranslateAny(v.GetValue(), declarations)); // s.setDeclarationList(declarations); return(s); }