Create should no longer assume RunLocal #2160
Unanswered
ajohnstone-ks
asked this question in
Ideas
Replies: 1 comment 1 reply
-
It looks like this happens with Creates which don't need any criteria parameters, because the BO will always contain a DataPortal_Create with RunLocal attached. Maybe its time to obsolete this method? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Using Csla 5 and DI, we have an issue were Creates are still being assumed as RunLocal. This becomes an issue for us as we'd like to Inject stuff that only exists in the server-side build our of BO assembly.
Please see here for an example.
I think that unless Csla finds a Create method and its explicitly marked as RunLocal, it should otherwise function like any other DP call. Otherwise we will have to add server-only assembly references to our client, or we won't be able to use inject. Neither is really great.
Beta Was this translation helpful? Give feedback.
All reactions