Skip to content

Commit b9d022d

Browse files
authored
Merge pull request #437 from shusen/master
ToPascalCase: first 1-char part to upper case
2 parents c273f04 + 8b64dc8 commit b9d022d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)