A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
Hi MarcoSegurini-3410,
Based on your code, it contains a parameterless constructor(SqliteContext()). Dependency injection will always choose the constructor with the least dependencies to be satisfied, which will be parameterless.
So you can try to remove the parameterless constructor.
Best Regards,
Daniel Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.