Hello,
I am currently working on a application that requires access to two separate but identically structured databases.
From what I got out of the documentation it seems easy enough, just define the data source extension in the web.config, refer to it when creating the EntityManager, and add the appropriate .svc file.
cl = new DomainModelEntityManager(true, "Local");
cr = new DomainModelEntityManager(true, "Remote");
However, when I do this it always seems to use whichever data source extension that is defined in the Object Mapper.
Anyone have any suggestions?
Thanks,
Edited by mtx_kguil - 17-Aug-2009 at 1:49pm