Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

DTO Explanation

$
0
0

My Question i have a project in blazor asp.net9 , My database consist of :

  • Parameter Table

  • Regular Table

  • Parent to Child Table

what is the best practice for API to use ;

  1. Should Create models for my table, and create DTO for all tables included the prameter table. or use DTO for regular and parent to child table only.

  2. Use Automapper is the correct decision.

    Please advice and recommend the best and safe solution. Thanks in advance


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>