Skip to content

Commit 8b64dc8

Browse files
authored
ToPascalCase: first 1-char part to upper case
Conver string like 't_abc' to PascalCase as 'TAbc'
1 parent 8c05acc commit 8b64dc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/EntityFrameworkCore.Generator.Core/Extensions/StringExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static string ToPascalCase(this string value, Regex splitRegex)
122122
}
123123
else
124124
{
125-
output.Append(name);
125+
output.Append(name.ToUpper());
126126
}
127127
}
128128
}
@@ -140,4 +140,4 @@ public static string ToPascalCase(this string value, Regex splitRegex)
140140
}
141141

142142

143-
}
143+
}

0 commit comments

Comments
 (0)