Exemplo n.º 1
0
 public static StringExpression ToNChar(this Int32Expression expr)
 {
     return(new StringExpression(false, "NCHAR(" + expr._sql + ")", ((Int32Expression)expr.Clone())._childExpressions));
 }
Exemplo n.º 2
0
 /// <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));
 }