Mapping to readonly properties #3707
mehdihadeli
started this conversation in
NA
Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My class is immutable and don't want to set its properties as public, also for implementing immutability I use custom constructor. But I get this error:
This is my configurations:
What is the solutions for this purpose? I think one approach is using
.UsingConstructor()
but I have to repeat in my all mapping.Beta Was this translation helpful? Give feedback.
All reactions