I have written a DataAccess Manager Class which can be used directly in the viewmodel or through a wcf service to get data from db.
I would like to have a switch in my view model to switch between direct or service. For this I implemented an Interface used by the dataaccess manager class and the wcf service definition.
If I try to implement this I get a problem that the namespace of the ServiceClient is showing me that this Interface is in the Service and not in the correct Namespace like this:
Because of this (or maybe something else) I have to cast the DataServiceClient to (AppInterfaces.IDataAccess) and this is not working...
Does someone has an idea how to get this working?
Thanks for your help.
View Complete Post