How to make Csla 9 not use legacy DataPortal_XYZ methods? #4595
Unanswered
hoangcuongvn
asked this question in
Questions
Replies: 2 comments
-
Can you provide a repro for this behavior? I just searched the v9.x codebase and the only use of "DataPortal_Execute" is in the analyzer that tells you not to use it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I created a repo in the link below. There are 2 test projects
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I upgrading my project that used Csla 8 to the new Csla 9. In Csla 8, all legacy
DataPortal_XYZ
andChild_XYZ
methods are ignored. So in my project, many classes are declared like below and they worked fine as expected. But Csla 9 suddenly supports back those legacy methods and all my classes now crash. E.g if I call_portal.Execute()
XCommandBase.execute()
is invoked as expectedDataPortal_Execute()
is invoked => this causes the app works incorrectly.Is it possible (e.g through configuration) to make Csla 9 not use those legacy methods?
Beta Was this translation helpful? Give feedback.
All reactions