0
arctechnicalteamaus created
Dear Support,
We are trying to use Abp.Domain.Entities for our DDD development. The base Entity class defines:
public virtual TPrimaryKey Id { get; set; }
The interface IEntity<TPrimaryKey> also defines:
TPrimaryKey Id { get; set; }
In DDD work, we suppose property shouldn't allow any public setter, particularly for the Id property. We just wonder why aspnetboilerplate setup in this way. Do we miss anything? How can we change this to only allow public get?
Thanks!
1 Answer(s)
-
0
Please follow this issue. Thanks. https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4761