Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 51e0527

Browse files
committed
Update OrmLite.Core.ttinclude
Removed static ToPascalCase method which doesn't contain any xml commenting and calls missing UpperCaseFisrtCharacter method. The T4 templates should be stable to just download and use without any issues now. Refer to comments from commit: #268
1 parent 2e5c395 commit 51e0527

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/T4/OrmLite.Core.ttinclude

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,11 +2303,6 @@ public static class Inflector {
23032303
return MakeInitialCaps(Regex.Replace(lowercaseAndUnderscoredWord, @"_", " "));
23042304
}
23052305

2306-
public static string ToPascalCase(string underscoredWords){
2307-
return UpperCaseFirstCharacter(Regex.Replace(underscoredWords,@"_([a-z])",
2308-
delegate(Match match){return match.Captures[0].Value.ToUpper();}).Replace("_",""));
2309-
}
2310-
23112306
/// <summary>
23122307
/// Adds the underscores.
23132308
/// </summary>

0 commit comments

Comments
 (0)