|
-
November 5th, 2011, 06:56 PM
#1
2 datacontext objects for one web form control
Since I am working on a my second C# asp.net webforms page that I have ever done, I have the following question:
In a linq to sql connection that I setup with a datacontext object I did not include the organization table in the .dbml file since I received error messages that the objects in the table were already declared in the same namesapce. I can not remove the organization table from the other datacontext object since that other datacontext object is already used in production. (I am adding some webpages that will be a url link offf of the main company page. I want to use the general webssite namespace instead of creating my own to keep the coding easier.)
Basically what can I do to include some of the columns of the organzation table to be joined with the tables in the my new .dbml file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|