?
Solved

Add table adapter to .xsd file...

Posted on 2014-10-06
4
Medium Priority
?
558 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

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

800 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