You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of the class, I'd like the generated With method to create a new object updating Price but not capable of updating 'Id'.
Can we decorate the 'Id' property to prevent it being included in the With method parameter list?
[ImmutableClass]classStockStatus{[SomeExcludeAttribute]publicstringId{get;}// Wish to exclude this from the With methodpublicdecimalPrice{get;}}
The text was updated successfully, but these errors were encountered:
In the case of the class, I'd like the generated
With
method to create a new object updatingPrice
but not capable of updating 'Id'.Can we decorate the 'Id' property to prevent it being included in the
With
method parameter list?The text was updated successfully, but these errors were encountered: