public static StringExpression ToNChar(this Int32Expression expr) { return(new StringExpression(false, "NCHAR(" + expr._sql + ")", ((Int32Expression)expr.Clone())._childExpressions)); }
/// <summary> /// To a char. /// </summary> /// <param name="expr">The expr.</param> /// <returns></returns> public static StringExpression ToChar(this Int32Expression expr) { return(new StringExpression(false, "CHR(" + expr.Sql + ")", ((Int32Expression)expr.Clone()).ChildExpressions)); }