示例#1
0
 public static IQueryExpressionBuilder Expression(this IQueryExpressionBuilder builder, SqlExpression expression,
                                                  string alias)
 {
     return(builder.Item(item => item.Expression(expression).As(alias)));
 }
示例#2
0
 public static IQueryExpressionBuilder Column(this IQueryExpressionBuilder builder, ObjectName columnName, string alias)
 {
     return(builder.Item(item => item.Expression(SqlExpression.Reference(columnName)).As(alias)));
 }