예제 #1
0
 public override IProjection RoundMethod(RoundMethod method, Expression[] arguments)
 {
     return(new SqlFunctionProjection(
                "round",
                NHibernateUtil.Int32,
                ProjectionVisitor.CreateProjection(arguments[0])
                ));
 }
예제 #2
0
 public Expression RoundMethod(RoundMethod method, LiteralExpression[] arguments)
 {
     return(NormalizeFloatingPoint(method, arguments));
 }
 public virtual TResult RoundMethod(RoundMethod method, Expression[] arguments)
 {
     throw new QueryNotSupportException();
 }