AddUmbracoDbContext vs AddDbContext - which one is better?
I am currently building a solution for a client that uses custom tables in the Umbraco database and I have implemented this using EF Core and the standard AddDbContext.
This is before considering AddUmbracoDbContext. After taking a look at that I am wondering if I need to use AddUmbracoDbContext or if I am safe to use AddDbContext.
I am only using EF Core to manage data in custom tables and not to interact with the Umbraco tables.
I have had a look at the code underneath and it seems to be managing locking mechanisms and scopes - is this an issue if I am not interacting with the Umbraco tables?
AddUmbracoDbContext vs AddDbContext - which one is better?
I am currently building a solution for a client that uses custom tables in the Umbraco database and I have implemented this using EF Core and the standard AddDbContext.
This is before considering AddUmbracoDbContext. After taking a look at that I am wondering if I need to use AddUmbracoDbContext or if I am safe to use AddDbContext.
I am only using EF Core to manage data in custom tables and not to interact with the Umbraco tables.
I have had a look at the code underneath and it seems to be managing locking mechanisms and scopes - is this an issue if I am not interacting with the Umbraco tables?
is working on a reply...