Skip to content
New issue

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

Not working simple things with .Net Core 8 #102

Open
msstad8 opened this issue Sep 20, 2024 · 0 comments
Open

Not working simple things with .Net Core 8 #102

msstad8 opened this issue Sep 20, 2024 · 0 comments

Comments

@msstad8
Copy link

msstad8 commented Sep 20, 2024

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

  1. use ==> GetList / GetListAsync method
  2. send predicate list.Contains("string")
  3. getting Error:
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant