I have a ViewModel for an edit screen in a SL4 RIA Service solution that looks like this:
strB, RIA_EntityA entityObj)
I am using this same viewmodel to edit several entities, such that the type of entityObj is not constant.
How can I use the same ViewModel Constructor to handle calls for, say, RIA_EntityB, RIA_EntityC.......?
I tried generics, but that did not seem to work?