I'm creating a Dynamic LINQ query in the following manner:
"Guid=Guid(\"" + entityId + "\")"
Eventually, this is transferred to a
somewhere in the code I call, I believe.
This error is occurring for me:
ParseException: '.' or '(' expected
This seems to be the case since it fails to locate
not the property, but the
How should I inquire about the
an attribute of my object?
is a buzzword, for sure. By prefixing keyword identifiers with, you may escape them.
The appropriate phrase reads as follows:
"@Guid=Guid(\"" + entityId + "\")"
To summarize Kendall's response, I believe the more elegant strategy is to allow parameterized queries from Dynamic LINQ handle the type conversions.