Data Annotations Attributes in Data Transfer Objects Template Entity Developer 6.4.775
Posted: Mon 05 Aug 2019 13:39
Hi!
I am building an Api using EF Core.
Is there a way to add Data Annotations attributes in the 'Data Transfer Objects' template? I would like to validate the Model through the Dtos, not directly in the Model itself (as it appears to be with the Data Annotations Metadata Template).
Thanks in advance!
I am building an Api using EF Core.
Is there a way to add Data Annotations attributes in the 'Data Transfer Objects' template? I would like to validate the Model through the Dtos, not directly in the Model itself (as it appears to be with the Data Annotations Metadata Template).
Thanks in advance!