예제 #1
0
 internal static string WithExpression <T>(Expression <Func <T, object> > expression)
 {
     return(FunctionHelper.BuildFunctionWithExpression(Constants.Sql.Case, expression, false, false));
 }
예제 #2
0
파일: Count.cs 프로젝트: selcukgural/Saka
 internal static string WithExpression <T>(Expression <Func <T, object> > column, bool comma)
 {
     return(FunctionHelper.BuildFunctionWithExpression(Constants.Sql.Count, column, comma));
 }
예제 #3
0
파일: OrderBy.cs 프로젝트: selcukgural/Saka
        internal static string WithExpression <T>(Expression <Func <T, object> > column, bool asc)
        {
            var condition = FunctionHelper.BuildFunctionWithExpression(Constants.Sql.OrderBy, column, false, false);

            return(string.Concat(condition, asc ? Constants.Sql.Asc : Constants.Sql.Desc));
        }