-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Error: The string argument 'name' cannot be empty when I scaffolding Sqlite database #23268
Comments
We added conditional code in indexes to call overload based on name being empty or non-empty. |
@smitpatel Regression in 5.0? |
Sorry, what does it mean regresion? Thanks. |
@ComptonAlvaro In means that something that was working in the previous release (3.1) is unintentionally broken in the latest release (5.0). As opposed to something broken in 5.0 that was also broken in 3.1. |
Thanks for the explanation. |
Created PR fix against 5.0 branch. Will re-target based on if we decide to patch this or not. |
Any workaround on this? |
I have a Sqlite database that has this table:
I am trying to scaffold this database, I am using this command:
Scaffold-DbContext "Filename=Planos.sqlite" Microsoft.EntityFrameworkCore.Sqlite -UseDatabaseNames -OutputDir Entidades
But I get this error:
Thanks.
Microsoft.Data.Sqlite version: 3.33.0
Target framework: (NET 5.0)
Operating system: Windows 10
The text was updated successfully, but these errors were encountered: