For one to many relationship, what\'s the difference between HasMany and OwnsMany? When should I use one over another?
From documentation:
EF Core allows you to model entity types that can only ever appear on navigation properties of other entity types. These are called owned entity types. The entity containing an owned entity type is its owner.
Owned entities are essentially a part of the owner and cannot exist without it, they are conceptually similar to aggregates.
https://docs.microsoft.com/en-us/ef/core/modeling/owned-entities