Thank you, Jack, for taking the time.
In the meantime, I worked into the EF Core 6 code and managed to find the hooks myself.
Shortly, I will be publishing an extension to EF Core for managing database users and roles by use of FluentAPI.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I've written an EF Core extension, providing model extension methods to add user/role objects to the database. Now I need a way to create SQL statements from the model when the database is created/migrated.
So, I guess I need to replace two Entity Framework Core services (IRelationalDatabaseCreator
and IMigrationsSqlGenerator
).
How can I do this?
I don't seem to be able to modify the list of services with only a DbContext
available.
Thank you, Jack, for taking the time.
In the meantime, I worked into the EF Core 6 code and managed to find the hooks myself.
Shortly, I will be publishing an extension to EF Core for managing database users and roles by use of FluentAPI.