Two DomainContext or data sources with WCF RIA - Silverlight page

Posted by Mayur Kotlikar on Stack Overflow See other posts from Stack Overflow or by Mayur Kotlikar
Published on 2010-12-29T07:30:10Z Indexed on 2011/01/01 8:53 UTC
Read the original article Hit count: 155

I am writting a Silverlight Business Application with WCF RIA link.

I have 2 databases on same SQL server, Public and Private. The Public database contains a table which is mostly for public access level, like "user" table which has basic user information

The Private database contains a table which has "private" information, user bank transactions etc

I created 2 ADO.Net entity models, one each for Private and Public database and selected the tables. I also created 2 different domain context services

On on Silverlight page, I need to get information from the tables that are across 2 databases, Private and Public as described above.

How do I achieve this? I am thinking of some kind of a wrapper that internally gets data from domain services. Whats the best approach?

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about wcfservice