Sharepoint 2013 BCS in Visual Studio 2012


Raquel Aline kb

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).

BCS0

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:

BCS1

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

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s