From e771a11a30539a27ec907823220d3d7de57f3a7e Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 20 Jul 2026 10:42:22 -0400 Subject: [PATCH] fix(localdb): rename Runtime.Deployment namespace to Runtime.DeploymentCache The Runtime.Deployment namespace shadowed the Deployment EF entity type for every file under ZB.MOM.WW.OtOpcUa.Runtime.Tests.*: C# name lookup walks the enclosing namespace chain and finds the namespace before a using-imported type, so 19 pre-existing call sites failed with CS0118. Caught only by a full-solution build - the Host and its own tests compiled fine. --- src/Server/ZB.MOM.WW.OtOpcUa.Host/Configuration/LocalDbSetup.cs | 2 +- .../Deployment/DeploymentCacheSchema.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.Host/Configuration/LocalDbSetup.cs b/src/Server/ZB.MOM.WW.OtOpcUa.Host/Configuration/LocalDbSetup.cs index e2838d63..0ce2d3be 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.Host/Configuration/LocalDbSetup.cs +++ b/src/Server/ZB.MOM.WW.OtOpcUa.Host/Configuration/LocalDbSetup.cs @@ -1,5 +1,5 @@ using ZB.MOM.WW.LocalDb; -using ZB.MOM.WW.OtOpcUa.Runtime.Deployment; +using ZB.MOM.WW.OtOpcUa.Runtime.DeploymentCache; namespace ZB.MOM.WW.OtOpcUa.Host.Configuration; diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Deployment/DeploymentCacheSchema.cs b/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Deployment/DeploymentCacheSchema.cs index 28f21165..14d29b9a 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Deployment/DeploymentCacheSchema.cs +++ b/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/Deployment/DeploymentCacheSchema.cs @@ -1,6 +1,6 @@ using Microsoft.Data.Sqlite; -namespace ZB.MOM.WW.OtOpcUa.Runtime.Deployment; +namespace ZB.MOM.WW.OtOpcUa.Runtime.DeploymentCache; /// /// DDL for the node-local deployment-artifact cache: the chunked artifact table plus the