Sharepoint 2013 BCS in Visual Studio 2012
When we need to integrate external data sources in SharePoint, one recommended way is using BCS services (BDC).
BCS can be very useful when we need to create a BackOffice in SharePoint 2013 to manage data from an external relational database.
In this post I’ll talk about how to create a BCS Model to manage an entity (Product) in an external SQL database, using Visual Studio 2012).
I started creating an Empty SharePoint 2013 project and selected the farm deployment.
Then I add to my project a new Item (Business Data Connectivity Model), named it BdcProduct:
By default, the Business Data Connectivity Model adds Entity1.cs and Entity1Service.cs classes. At this point, if you deploy your solution, you can test this BCS Entity1 (I think this is a good test to start).
After that I renamed the classes Entity1.cs and Entity1Service.sc to Product.cs and Product1.cs…
Ver la entrada original 162 palabras más