Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1551b3a

Browse files
committedOct 23, 2024·
migrations
1 parent d4b6abe commit 1551b3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/Generators/Foundation/Codelisk.Foundation.Generator/Generators/EntityGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ IEnumerable<RecordDeclarationSyntax> baseDtos
6666
.AddAttribute($"{typeof(EntityAttribute).FullName}(typeof({dto.Identifier.Text}))")
6767
.WithAccessModifier(Accessibility.Public);
6868

69+
result.AddConstructor();
6970
var constructor = result
7071
.AddConstructor()
7172
.WithBaseCall(

0 commit comments

Comments
 (0)
Please sign in to comment.