Replies: 1 comment 5 replies
-
The If you want to inject services for use in methods not invoked directly by the data portal, you should probably use constructor injection like "normal". Make sure the object containing your methods is created via DI, and then you can get the necessary services from the constructor. That's a general answer, but if you have a specific scenario I can probably provide more details.
This is a good question, and I appreciate you bringing it up. I haven't thought through this scenario, and it needs a good answer. Every domain object does have access to
In a business rule the context includes a reference to a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on upgrading a project to 6.0 and have a few question as to the appropriate way to gain access to the DataPortal and ApplicationContext when using them in the business library itself.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions