TangyBlazor
TangyBlazor copied to clipboard
using a class initializer for collection in EF's class
The Product class didn't use a class initializer, is it better to use an initializer like the one below? public Product() { ProductPrices = new HashSet<ProductPrice>(); }