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

Invalid object name #Temp{Entity} #57

Open
symbarh opened this issue Mar 22, 2024 · 2 comments
Open

Invalid object name #Temp{Entity} #57

symbarh opened this issue Mar 22, 2024 · 2 comments

Comments

@symbarh
Copy link

symbarh commented Mar 22, 2024

BulkInsertIntoTempTableAsync creates a temp table named #Temp{Entity}_1, but the query is referencing #Temp{Entity}

@PawelGerr
Copy link
Owner

Could you please provide a small repro?

@symbarh
Copy link
Author

symbarh commented Mar 22, 2024

I found a workaround; I implemented a custom ITempTableNameProvider and a ITempTableNameLease to return a temporary table name without the integer suffix. I will provide a reproducible code when I find the time. Thank you.

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

2 participants