Closed vvdb-architecture closed 1 year ago
When you add an EF Core database project, for example:
The resulting namespace previously was `TestFlow.Service.Database but it's now:
namespace EG.TestFlow.Service.Database; public partial class DatabaseContext : DbContext { public DatabaseContext(DbContextOptions<DatabaseContext> options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) { //Custom code conventions in OnModelCreating //define the default schema modelBuilder.HasDefaultSchema("app"); } }
A similar remark is valid for Hangfire projects. Why the EG-prefix? This shouldn't be necessary.
EG
In all the code generated, the namespace contains the company. It has been decided to use EG for Elia Group. This is a config update => This is a company choice. What do you want EliaGroup, Elia,...
When you add an EF Core database project, for example:
The resulting namespace previously was `TestFlow.Service.Database but it's now:
A similar remark is valid for Hangfire projects. Why the
EG
-prefix? This shouldn't be necessary.