C# DDD with EF 核心使用同一领域实体/制图表或单独类别汇总
原文:C# DDD with EF Core use same domain entity / aggregate for mapping table or separate class
原文:C# DDD with EF Core use same domain entity / aggregate for mapping table or separate class
I don t know which option is most suitable between those 2. Option 1: Use aggregateroot or entity (aggregate sub-entity) to map table. public class User : AggregateRoot { string Name { get; } ...