Error: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
Please link to a demo project if possible, this makes your issue much easier to diagnose.
Expected result
Get the list without any error
Actual result
Error: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
Description
Error: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
same code is working in .net 6 not in 8
var existing = await _repoAsync.GetListAsync(x => lstEndpoints.Contains(x.Endpoint.ToLower()), null, null, 0, 20);
Steps to reproduce
Please link to a demo project if possible, this makes your issue much easier to diagnose.
Expected result
Get the list without any error
Actual result
Error: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.