Silverlight LoadModule Prism and Data Transfer
I am loading a module dynamically on demand to edit a business object (like a client module).
I want to then load the module and pass the customerDTO (or primary key) to the view model. I have an OnClick command on my button to launch my ICommand and then I load the CustomerModule:
private void EditCustomer(Guid customerID)
{
moduleManager.LoadModule("CustommerModule");
}
If I use constructor injection, Unity will create a new DTO client for me.
how to pass customer id to CustomerModule?
Greetings,
Ali
+1
a source to share
No one has answered this question yet
Check out similar questions: