Skip to content

Commit 5ac85e0

Browse files
committed
Cleanup illegal C# stored procedure names
1 parent 5877930 commit 5ac85e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

EntityFramework.Reverse.POCO.Generator/EF.Reverse.POCO.Core.ttinclude

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,6 +2491,7 @@ SELECT SERVERPROPERTY('Edition') AS Edition,
24912491
NameHumanCase = (usePascalCase ? Inflector.ToTitleCase(spName) : spName).Replace(" ", "").Replace("$", ""),
24922492
Schema = schema
24932493
};
2494+
sp.NameHumanCase = CleanUp(sp.NameHumanCase);
24942495
if((string.Compare(schema, "dbo", StringComparison.OrdinalIgnoreCase) != 0) && prependSchemaName)
24952496
sp.NameHumanCase = schema + "_" + sp.NameHumanCase;
24962497

0 commit comments

Comments
 (0)