Skip to content

Commit

Permalink
merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
pgallik authored and ArneD committed Dec 8, 2023
1 parent 4e8ca6f commit 39e8749
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Basisregisters.IntegrationDb.sln
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ Global
{F3D39574-A172-40C5-A072-D33D19576419} = {C2F8FF63-7A48-4179-A720-86206C42F496}
{012CD10E-1EDE-4014-B7CE-B870E62D1BEC} = {A5E1149A-0437-4CD0-93A2-6E7E059C74BE}
{2046F886-AA42-4EAD-A8FC-F8FC10A743F9} = {A5E1149A-0437-4CD0-93A2-6E7E059C74BE}
{B6540121-7CE0-4E3C-B247-9E9E966EA8BC} = {C2F8FF63-7A48-4179-A720-86206C42F496}
{B82F6A0D-2DB9-44C6-A516-5BD6C1037460} = {C2F8FF63-7A48-4179-A720-86206C42F496}
{8ABB1D7A-BFB0-4B5A-BF62-A7C40DAA6B52} = {C2F8FF63-7A48-4179-A720-86206C42F496}
{D3170071-1C14-4B17-99A2-96F718097AA1} = {C2F8FF63-7A48-4179-A720-86206C42F496}
{25CBC3D1-0365-4F56-9BEF-AC23823272ED} = {C2F8FF63-7A48-4179-A720-86206C42F496}
{A2C6479B-AC7D-447B-80ED-9EC3AE14C98D} = {C2F8FF63-7A48-4179-A720-86206C42F496}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2EB87445-E263-4E1E-89CC-3839170028E5}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void Configure(EntityTypeBuilder<AddressesLinkedToMultipleBuildingUnits>
""LinkedBuildingUnitCount"",
""NisCode"",
""Timestamp""
FROM ""{IntegrationContext.Schema}"".""{ViewQueries.VIEW_AddressesLinkedToMultipleBuildingUnits}"" ");
FROM ""{IntegrationContext.Schema}"".""{nameof(ViewQueries.VIEW_AddressesLinkedToMultipleBuildingUnits)}"" ");

builder.HasIndex(x => x.AddressPersistentLocalId);
builder.HasIndex(x => x.Status);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ public void Configure(EntityTypeBuilder<ParcelAddressRelation> builder)
""AddressPersistentLocalId""
FROM ""{IntegrationContext.Schema}"".""{nameof(ViewQueries.VIEW_ParcelAddressRelations)}"" ");

// Must be lower case because the materialized view defaults to lower case column for aliases.
//builder.Property(x => x.AddressPersistentLocalId).HasColumnName("addresspersistentlocalid");

builder.HasIndex(x => x.CaPaKey);
builder.HasIndex(x => x.AddressPersistentLocalId);
}
Expand Down

0 comments on commit 39e8749

Please sign in to comment.