We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
is it possible to parse into the other direction? Let's say I have an expression like:
public class Person { public String Name { get; set; } public String FirstName { get; set; } public DateTime Birthday { get; set; } }
Expression<Func<Person, bool>> filterExpression= x => x.Birthday > new DateTime(2001, 1, 1);
I would like to have something like this as result:
"x => x.Birthday > '2007-08-31'"
The text was updated successfully, but these errors were encountered:
Just to a .ToString() ?
.ToString()
Expression<Func<Car, bool>> filterExpression = x => x.Key > 10; string s = filterExpression.ToString(); // "x => (x.Key > 10)"
Sorry, something went wrong.
Yeah, this is ok with constant variables, but if you do it with the above expression that contains a DateTime object, the result isn't the expected.
StefH
No branches or pull requests
Hello,
is it possible to parse into the other direction?
Let's say I have an expression like:
Expression<Func<Person, bool>> filterExpression= x => x.Birthday > new DateTime(2001, 1, 1);
I would like to have something like this as result:
"x => x.Birthday > '2007-08-31'"
The text was updated successfully, but these errors were encountered: