You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I reverse engineer a database, the tool generates the constructors for database Context.
Would it be possible to have an option to not generate the constructors?
In my code I have setup a partial class with constructors and the connection string. The tool gives an option to not generate the connection string but there is none for not generating constructors.
The text was updated successfully, but these errors were encountered:
I can't remember exactly why, but having just tested again with the autogenerated constructors, it works.
I think it might of been an issue with DI for IConfiguration. I was using Microsoft.DependancyInjection, but have switched to AutoFac recently.
When I reverse engineer a database, the tool generates the constructors for database Context.
Would it be possible to have an option to not generate the constructors?
In my code I have setup a partial class with constructors and the connection string. The tool gives an option to not generate the connection string but there is none for not generating constructors.
The text was updated successfully, but these errors were encountered: