These libraries extend Entity Framework Core by a few features to make it easier to work with EF and for easier integration testing or to get more performance in some special cases.
Unfortunately the collation information isn't available from the runtime model so we need to fetch the design time model. I don't know if there could be problems with the design time model being unavailable or if it has negative performance implications (the generated SQL is cached, so seems unlikely). Alternatively another option could be added to SqlServerTempTableCreationOptions to tell it to respect the collation overrides.
NB: @PawelGerr Atm. your master branch here on GitHub isn't on par with the master branch on Azure DevOps, so your last two commits got included in the PR as well.
This makes SqlServerTempTableCreator respect the collation on columns if set explicitly by
Unfortunately the collation information isn't available from the runtime model so we need to fetch the design time model. I don't know if there could be problems with the design time model being unavailable or if it has negative performance implications (the generated SQL is cached, so seems unlikely). Alternatively another option could be added to SqlServerTempTableCreationOptions to tell it to respect the collation overrides.
NB: @PawelGerr Atm. your master branch here on GitHub isn't on par with the master branch on Azure DevOps, so your last two commits got included in the PR as well.