Skip to content

Commit 959283b

Browse files
committed
2 parents 8c34dd9 + b9d022d commit 959283b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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+
}

src/EntityFrameworkCore.Generator.Core/Templates/EntityClassTemplate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private void GenerateRelationshipProperties()
172172
CodeBuilder.AppendLine($"/// Gets or sets the navigation collection for entity <see cref=\"{primaryFullName}\" />.");
173173
CodeBuilder.AppendLine("/// </summary>");
174174
CodeBuilder.AppendLine("/// <value>");
175-
CodeBuilder.AppendLine($"/// The the navigation collection for entity <see cref=\"{primaryFullName}\" />.");
175+
CodeBuilder.AppendLine($"/// The navigation collection for entity <see cref=\"{primaryFullName}\" />.");
176176
CodeBuilder.AppendLine("/// </value>");
177177
}
178178

@@ -188,7 +188,7 @@ private void GenerateRelationshipProperties()
188188
CodeBuilder.AppendLine($"/// Gets or sets the navigation property for entity <see cref=\"{primaryFullName}\" />.");
189189
CodeBuilder.AppendLine("/// </summary>");
190190
CodeBuilder.AppendLine("/// <value>");
191-
CodeBuilder.AppendLine($"/// The the navigation property for entity <see cref=\"{primaryFullName}\" />.");
191+
CodeBuilder.AppendLine($"/// The navigation property for entity <see cref=\"{primaryFullName}\" />.");
192192
CodeBuilder.AppendLine("/// </value>");
193193

194194
foreach (var property in relationship.Properties)

0 commit comments

Comments
 (0)