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

Incorrect syntax near 'LIMIT' #456

Closed
lesair opened this issue Mar 16, 2021 · 1 comment
Closed

Incorrect syntax near 'LIMIT' #456

lesair opened this issue Mar 16, 2021 · 1 comment

Comments

@lesair
Copy link

lesair commented Mar 16, 2021

The Limit clause added by First() or FirstOrDefault() is not compatible with SQL Azure, as it throws this exception:

Incorrect syntax near 'LIMIT'

@lesair
Copy link
Author

lesair commented Mar 16, 2021

Not a bug, I was using the incorrect compiler.

@lesair lesair closed this as completed Mar 16, 2021
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