IsTemporal() with SetIsMemoryOptimized(true) generates invalid CREATE TABLE #27592
Labels
area-migrations
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
supported in SQL 2019 - see link
When scripting with
dotnet ef migrations script --output migrations\ef_00_initial.sql
it generated invalid SQL:It was really close, but added 2 "WITH" clauses instead of combining them.
version information
EF Core version: 6.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
MSSQL: SQL 2019, 15.0.4198.2
Target framework: .NET 6.0
Operating system: Win10 (production is k8s/Linux)
IDE: Visual Studio 2022
But I use
dotnet ef
for all scaffolding, migrations, and migration scripting.The text was updated successfully, but these errors were encountered: