public static string Serialize <TModel, TResult>(Expression <Func <TModel, TResult> > expression) { var translator = new Serialize.QueryTranslator(); var query = translator.Translate(expression); return(query); }
public static string Serialize(LambdaExpression expression) { var translator = new Serialize.QueryTranslator(); var query = translator.Translate(expression); return(query); }