Skip to content

Commit

Permalink
fix: geometries context persistent local id name
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Apr 23, 2024
1 parent 80c183b commit 0ea828e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
.ToTable("BuildingDetailsV2", Schema.Legacy)
.HasKey(x => x.BuildingPersistentLocalId);

modelBuilder.Entity<BuildingGeometryData>()
.Property(x => x.BuildingPersistentLocalId)
.HasColumnName("PersistentLocalId");

modelBuilder.Entity<BuildingGeometryData>()
.Property(x => x.GeometryMethod)
.HasConversion(
Expand Down

0 comments on commit 0ea828e

Please sign in to comment.