Replace missing SSDLToSQL10.tt with a C# SsdlToDdl generator - #4
Merged
Merged
Conversation
The Generate Database Wizard and `edmx ddl` now share one in-box implementation that does not require the old VS DBGen template file. Co-Authored-By: Grok 4.6 <grok@x.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Generate Database Wizard failed because VS 18 no longer ships
SSDLToSQL10.ttunder Entity Framework Tools. This ports that template to C# so the wizard and the CLI share one generator that does not need the file.What changed
SsdlToDdlinDatabaseGeneration(tables, PKs, FKs, SQL Server vs Compact, drops from existing SSDL).SSDLToSQL10.ttpath (including a stored$(VSEFTools)/DBGen/SSDLToSQL10.ttvalue). Custom.ttfiles still go through T4.edmx ddlfor the same pipeline outside Visual Studio.Checks
SsdlToDdlTestsplus the rest ofMicrosoft.Data.Entity.Tests.Design.DatabaseGeneration: 36/36 on net10.0 and net48.edmx ddlagainst the Northwind sample wrote a SQL script.