New Create Database name BCSForSharePoint2010

Open Visual Studio 2010 to create a new BCS

Interface creates the following new

Module6_video04_BCS_VS2010_05.png

BDC Explorer window

Solution Explorer window | Select Class Entity1

Module6_video04_BCS_VS2010_29.png

Method Details window BDC - CustomerEntity | collap ReadItem method, ReadList

After completion code hi build and Deploy project

Module6_video04_BCS_VS2010_39.png

Open Central Administration | Application Management | Manage service selected applications

Module6_video04_BCS_VS2010_40.png

You choose to Business Data Connectivity Service

Module6_video04_BCS_VS2010_41.png

You check CustomerEntity BCSCustomer.BdcModel1 with namespace and select Icon Set Object Permissions

Module6_video04_BCS_VS2010_42.png

Add your user rights for that user and select

Module6_video04_BCS_VS2010_43.png

Open the site with the port as was at first Debungging ( http://acer:8888 ) and select All Site Content

Module6_video04_BCS_VS2010_44.png

Choose Create

Module6_video04_BCS_VS2010_45.png

Data at the category | select External List | select Create

Module6_video04_BCS_VS2010_46.png

BCSCustomer named below and select the icon to add External Content Type

Module6_video04_BCS_VS2010_47.png

Choose BdcModel1 with External Content Type and select OK BCSCustomer.BdcModel1.CustomerEntity

Module6_video04_BCS_VS2010_48.png

Choose Create

Module6_video04_BCS_VS2010_49.png

Thus BCSCustomer List has been shown to Method ReadList

Module6_video04_BCS_VS2010_50.png

Item can Delete | Click on a Combobox Item | Add Delete

Module6_video04_BCS_VS2010_51.png

OK

Module6_video04_BCS_VS2010_52.png

Item removed

Module6_video04_BCS_VS2010_53.png

Back to SQL Server to see the old data as follows and select Execute SQL Icon

Module6_video04_BCS_VS2010_54.png

Result Row Item deleted

Module6_video04_BCS_VS2010_55.png

So we finished creating the VS 2010 BCS method ReadItem, ReadList, Delete, and other similar methods