Oh Stackoverflow how you provide! Simulating Cross Context Joins--LINQ/C.
You don't. The data contexts may have inconsistent views of the database.
Error. – jinsungy Oct 8 '09 at 13:48 Then you're probably doing something else wrong. – Per Erik Stendahl Oct 8 '09 at 14:08.
If your code does something along the lines of: from a in dc1. TableA join be in dc2. TableB on a.Id equals b.
Id select new { a, be } ...just change it to: from a in dc1. TableA join be in dc1.GetTable() on a.Id equals b. Id select new { a, be } The L2S datacontext uses the attributes on the class, so if you use GetTable on another datacontext than the one the table is attached to it will just pick up the table, column, etc attributes from the class def and use it as if it was part of the DC you're using in the query...
Another solution is change the result to List(). Var query = (from a in dc1. TableA join be in dc2.
TableB on a. Id equals b. Id select new { a, be }).ToList().
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.