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

Document the SQLite breaking changes caused by EF7 update pipeline #4241

Closed
ajcvickers opened this issue Feb 3, 2023 · 2 comments · Fixed by #4263
Closed

Document the SQLite breaking changes caused by EF7 update pipeline #4241

ajcvickers opened this issue Feb 3, 2023 · 2 comments · Fixed by #4263

Comments

@ajcvickers
Copy link
Contributor

ajcvickers commented Feb 3, 2023

See dotnet/efcore#29916, dotnet/efcore#29512, dotnet/efcore#29811, dotnet/efcore#30081

Workaround:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    => optionsBuilder.ReplaceService<IUpdateSqlGenerator, SqliteLegacyUpdateSqlGenerator>();
@SeeIfIDont
Copy link

According to the committed documentation, this was supposed to be removed and replaced with a per-table mechanism in .NET 8. .NET 8 RC 2 is now out and I can't find any up-to-date documentation and release notes addressing this either way. What happened to this?

@roji
Copy link
Member

roji commented Oct 31, 2023

This indeed happened - see dotnet/efcore#29916. We now have UseSqlReturningClause (for SQLite) and UseSqlOutputClause (for SQL Server). And we definitely need to document these, opened #4538 to track this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants