pull/4/head
Alexandre Ruiz 3 years ago
commit 038cf2b909
  1. 2
      Collaborateur_Epa_Back/espacecollab.backend.infrastructure.sql/MainDbContext.cs

@ -28,10 +28,12 @@ public class MainDbContext : DbContext
modelBuilder.Entity<FonctionSqlDto>().Property(p => p.Id).UseMySqlIdentityColumn();
modelBuilder.Entity<TechnologieSqlDto>().Property(p => p.Id).UseMySqlIdentityColumn();
modelBuilder.Entity<CollaborateurSqlDto>().Property(p => p.Id).UseMySqlIdentityColumn();
modelBuilder
.Entity<CollaborateurSqlDto>()
.Property(e => e.Gender)
.HasConversion<string>();
modelBuilder
.Entity<CollaborateurSqlDto>()
.Property(e => e.Status)

Loading…
Cancel
Save