Thinktecture.EntityFrameworkCore
Thinktecture.EntityFrameworkCore copied to clipboard
Invalid object name #Temp{Entity}
BulkInsertIntoTempTableAsync creates a temp table named #Temp{Entity}_1, but the query is referencing #Temp{Entity}
Could you please provide a small repro?
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.