Incorrect syntax near '*' with LINQ Where
Posted: Wed 20 Oct 2021 08:46
Hi!
We are facing some ridiculous problem with LINQ where condition building.
So if there is a LINQ statement like:
And it always fails if the AStringValue is a string with a single * character. It works fine with strings longer than one character like (m*, *_ etc.).
Using EntityDAC version 2.3.4
We are facing some ridiculous problem with LINQ where condition building.
So if there is a LINQ statement like:
Code: Select all
var LExpression := FContext.SomeTable;
var LOrmEntry := FContext.GetEntity<TOrmSomeTable>(From(LExpression).Where(LExpression.SomeStringFIeld = AStringValue));
Using EntityDAC version 2.3.4