In this article we will be seeing how to search the data from the associated external content type.
SQL database details
Database name BCS
Table 1. Department_Details

Table 2. Employee_Details

Association
Emploee_Details and Department_Details are associated as shown in the following

Create associated ECT's
External content type department
- Open SharePoint Designer 2010
- Click on Open Site

- Enter the site URL and click on Open
- Go to Navigation => External Content Types => New => External Content Type

- Enter the details as shown in the following

- Click on the link "Click here to discover external data sources and define operations"
- Click on "Add Connection"
- In the External Data Source Type selections select "SQL Server" and click on Ok

- Enter the details as shown in the following

- Right click on Department_Details and click on "Create all operations"

- Click Finish

- Save the external content type



















Zheng ZhangPosted Nov 15, 2012, 12:46 AM
Hi Vijai, Excellent Article! Just one more ask - is there a way i can get the results (Department with its Employees in one query)via Query API please? Thanks, ZZ
Dinesh BeniwalPosted Feb 1, 2011, 1:07 AM
Nice article Vijay.