Posts by Rodolfo Fadino Junior • 61 points
1 post
-
6
votes2
answers849
viewsA: Best way to make class relationship
I would model the classes as follows: public class Pedido { public int Id { get; set; } public DateTime Data { get; set; } public virtual List<Produto> Produtos { get; set; } } public class…