Replies: 6 comments
-
What version of CSLA? |
Beta Was this translation helpful? Give feedback.
-
the problem occur in CSLA 5.5 ,CSLA 4.9 is ok,work well |
Beta Was this translation helpful? Give feedback.
-
CSLA 5 uses a completely different way of invoking data portal operation methods because it now supports dependency injection. So the reflection used to discover the method is quite different. When you say dynamic method, do you mean it was created with IL generation? Are you using the data portal operation attributes (soon to be required - we're phasing out the hard-coded method names like Can you show an example of your dynamic method? |
Beta Was this translation helpful? Give feedback.
-
2 create a access class to override DataPortal_Insert ,the class as a business object and as a children object too!! 3 call save method ,if the obejct has a child as above , will call DataPortal.UpdateChild method to update it as child 4 before csla4.9,it's work fine |
Beta Was this translation helpful? Give feedback.
-
Step one is to create a unit test that reproduces the issue. That test will go here |
Beta Was this translation helpful? Give feedback.
-
I think this is basically the same question being asked in this thread: #2449 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I has Build a Business Base Class in my project to custom business logic.
when i use DataPortal.UpdateChild(..) Method override Child_Update(params object[] parameters)
this method call DynamicMethod in file ServiceProviderMethodCaller.cs line at line 474
object relation like this:
actual object -- >my base object --> csla base object
if the Method like Child_Insert() is writen in my base class, than call a method in csla class and override in actual class
the override method can't be called right.
I has fixed by writen override method in my base class again .
is there any way to fixed it in DynamicMethod call ?
it's use in a aspnetcore 3.1 project.
Beta Was this translation helpful? Give feedback.
All reactions