Solved

Add table adapter to .xsd file...

Posted on 2014-10-06
4
533 Views
Last Modified: 2014-10-08
The attached .xsd file has two data tables (Customer and CustomerOrders).

I am trying to duplicate this sample. The columns is CustomerOrders come from 3 tables. I am able to add Customer data table to .xsd file. But I have no idea how I can add CustomerOrders data table.

Question: How can I add CustomerOrders data table to my sample using wizards in vs2012?

xsd file
0
Comment
Question by:Mike Eghtebas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 34

Author Comment

by:Mike Eghtebas
ID: 40365793
Please see:

16 KB
xsd file

above the image. I should have started my question this way:

The image below (.xsd file) has two data tables (Customer and CustomerOrders)...

The reason I had the word "Attached" was I intended to upload the entire file but EE wouldn't allow files with extention .sln to be uploaded. That is why I settled uploading this image instead.

I have kind of figured out the answer myself. I suppose I wait for a while to get some feedback. And after I get my solution tested I could add it here.

Your feedback on this will be appreciated.

Mike
0
 
LVL 34

Accepted Solution

by:
Mike Eghtebas earned 0 total points
ID: 40368913
Right-click on the .xsd design view to select Add table adapter and use query builder to finalize SQL string and then save it.

Later you can rename the table adapter as CustomerOrders, for example. And also right-click on CustomerOrders to choos add relationship to connect CustomerOrders.CustomerID  to Customers.CustomerID.

Mike
0
 
LVL 34

Author Closing Comment

by:Mike Eghtebas
ID: 40368915
I figured out how to add a table adapter to .xsd file using wizard.
0

Featured Post

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question