From c362ccaac4fde4e388476e952f1503ac54824300 Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Thu, 28 Nov 2024 10:43:08 +0100 Subject: [PATCH] Fix sproc/function naming bug --- src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs b/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs index 31c10cab6..ebb71cba9 100644 --- a/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs +++ b/src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs @@ -115,11 +115,11 @@ public static string GenerateIdentifierName(Routine routine, RoutineModel model, ArgumentNullException.ThrowIfNull(model); - if (usePascalCase) + if (!usePascalCase) { var name = GenerateUniqueName(routine, model); - return CreateIdentifier(name, name, true).Item1; + return CreateIdentifier(name, name, false).Item1; } else {