Closed d668 closed 7 years ago
Can you submit your test case
Ok so here is a test case: run
var text = File.ReadAllText("sql.txt");
var matches = Regex.Matches(text, @"\[(\w*)\].\[(\w*)\]\s*LIKE\s*@p__linq__20\s?(?:ESCAPE N?'~')");
against attached SQL and matches doesn't have anything
In yout SQL ((@plinq20 IS NULL) OR ((@plinq21 IS NULL) AND (([Extent1].[Text] LIKE @plinq22 ESCAPE N'~')
There is no content @"[(\w)].[(\w)]\sLIKE\s@plinq20\s?(?:ESCAPE N?'~')") like .
Will you show your C# query?
May be try
dbContext.Configuration.UseDatabaseNullSemantics = true;
will clean x = null