In a C# 2010 desktop I have one solution file that have 4 separate project folders. In two of the project folders I need to access two of the same tables using linq to sql. I do not know how to make each project folder be aware of the two tables. Thus I embedded basically the same *.dbml files within each separate project folder.
I do not think what I did is the best solution. Due to this fact, I have the following questions:
1. Is there some kind of a way that each project folder can have access to the same *.dbml file? If you can you tell me how to accomplish this goal?
2. One of the project folders is a proxy file. Is it a good or bad idea to have a proxy class (project) folder update a *.dbml? Can you tell how how to accomplish my goal?
C# accessing several proejct folders in same solution issue
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sukesh MarlaRank #461 · 5.4K reputationPosted Sep 8, 2012, 9:11 PM EDT
Create a class Library Project in C# and Put your dbml file inside that.
Now right click both your projects and add reference and select the project just created.
Let me knw if have any confusion.
Check this is correct answer if it helped.
Sie Ste196 reputationPosted Sep 9, 2012, 11:04 AM EDT
Sukesh MarlaRank #461 · 5.4K reputationPosted Sep 9, 2012, 7:20 PM EDT
http://www.c-sharpcorner.com/UploadFile/SukeshMarla/3-tier-architecture-using-Asp-Net/
There you can see example of class library
Check this is correct answer if it helped.