Open rocklau opened 1 year ago
@zhenlei520 PTAL
ValueModel inherits value objects and needs to configure a custom mapping relationship, otherwise it will be regarded as an entity by EFCore. Subsequent templates will add custom mapping related configurations, refer to the link
add attribute is better
[Ownered]
AddressValue
Both options are possible, it depends on the developer's programming habits, but I prefer to use the non-characteristic method, it will not make the model have a strong dependence on an ORM
I put this feature in 2.0 first, but this issue welcomes pr.
Description
I created project with
dotnet new masafx --web WASM --service Cqrs\&Ddd -mini -openapi -dapr -actor -auth -valid
Environment
.Template Name: masafx
.NET SDK Version: