It looks like a bug, but I hope maybe there is a setting that I missed that controls this behavior. When I created classes I specified "Inheritance Modifier" as "Sealed". This is what I would like to have. At the same time, I'd like to have PropertyChanging and PropertyChanged events on the classes and I specified that in the beginning when I created the diagram.
Now, when generate the code the classes generated sealed but those events along with SendPropertyChanging and SendPropertyChanged method are generated as virtual, and the methods are protected. Is there a way to fix it besides either removing sealed modifier or those events?
Search found 1 match
- Mon 04 Jul 2022 03:09
- Forum: Entity Developer
- Topic: PropertyChanging and PropertyChanged always generated as virtual
- Replies: 1
- Views: 8654