Two static Csla.IDataPortalFactory instances #4215
Unanswered
michaelcsikos
asked this question in
Questions
Replies: 1 comment
-
Hi. In case of a WinForms app it should not matter because you typically use the root provider to retrieve all your dependencies. |
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
-
We have some common business classes in a shared DLL which are used by multiple add-ins for Advance Steel. The UI is WinForms. I'm thinking about a scenario where two different add-ins are loaded at the same time and both use some of the common classes, e.g.
Bolt
andPlate
.Using CSLA 8, both add-ins could set up their own
static Csla.IDataPortalFactory
and be able to handle the factory operations for the common classes. Does it actually matter whichIDataPortalFactory
instance handles the requests for the common classes?Beta Was this translation helpful? Give feedback.
All reactions