Skip to content

Commit a331926

Browse files
committed
added Equals method from base model.
1 parent 68f3b84 commit a331926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/handlebars/aspnetcore/model.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ namespace {{packageName}}.Models
103103
{{name}} == other.{{name}} ||
104104
{{name}} != null &&
105105
{{name}}.SequenceEqual(other.{{name}})
106-
){{#hasMore}} && {{/hasMore}}{{/isNotContainer}}{{/vars}}{{^vars}}false{{/vars}};
106+
){{#hasMore}} && {{/hasMore}}{{/isNotContainer}}{{/vars}}{{^vars}}false{{/vars}}{{#parent}} && base.Equals(other){{/parent}};
107107
}
108108

109109
/// <summary>

0 commit comments

Comments
 (0)