CSLA calls operations of base classes #4074
Unanswered
StefanOssendorf
asked this question in
Questions
Replies: 1 comment 9 replies
-
I think you are suggesting that the data portal should not honor data portal operation attributes inherited from base types? That does seem like it should make for more understandable code. Originally, before the modern attribute scheme, the data portal relied on overrides of base methods like My first instinct is to say that this is a bug - unintended behavior. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering if this is a bug or a feature.
Should the
CreateBase()
method be considered theCreate
operation ofFoo
? For me that looks like invoking a "constructor" only from the base class but not from the actual class which could create a lot of trouble.Edit: The same holds for non abstract classes, too. So "removing" a CSLA operation attribute is not necessarily an option.
Beta Was this translation helpful? Give feedback.
All reactions