Skip to content

Commit 858b671

Browse files
author
Andreas Pouwels
committed
Fixed two minor errors (table summary, table attribute)
1 parent d9e8346 commit 858b671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MsSql.ClassGenerator.Core/Business/ClassManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ private static string GetClassAttributes(ClassGeneratorOptions options, TableEnt
117117
{
118118
attributes.Add(1, "/// <remarks>");
119119
attributes.Add(2, $"/// Table <c>[{table.Schema}].[{table.Name}]</c>");
120-
attributes.Add(3, "/// </summary>");
120+
attributes.Add(3, "/// </remarks>");
121121
}
122122

123123
if (options.DbModel)
124124
{
125125
attributes.Add(4, string.IsNullOrWhiteSpace(table.Schema)
126126
? $"[Table(\"{table.Name}\")]"
127-
: $"[Table(\"{table.Name}\", Schema = \"{table.Schema}\"]");
127+
: $"[Table(\"{table.Name}\", Schema = \"{table.Schema}\")]");
128128
}
129129

130130
return string.Join(Environment.NewLine, attributes.OrderBy(o => o.Key).Select(s => s.Value));

0 commit comments

Comments
 (0)