In this article we will be seeing how to export the BDC model using SharePoint 
Designer and deploy the BDC model as a feature using Visual Studio 2010.
In this article we will be performing the following steps:
- Export the BDC model using SharePoint 
	Designer 2010
- Deploy the BDC model as a feature using 
	Visual Studio 2010
Export the BDC model using SharePoint 
Designer 2010:
To create an external content types using SharePoint Designer refer
http://msdn.microsoft.com/en-us/library/ee557243.aspx.
In this section we will be seeing how to export the BDC model using SharePoint 
Designer.
- Open SharePoint Designer 2010. 
	
- Click on Open Site.
 
 ![ExDepBDC1.gif]() 
 
- Enter the site URL and click on Open.
	
- Go to Navigation => External Content 
	Types.
 
 ![ExDepBDC2.gif]() 
 
- I have created an External content type 
	named "ECT" as shown in the following
 
 ![ExDepBDC3.gif]() 
 
- Right click on ECT and click on "Export 
	BDC Model".
 
 ![ExDepBDC4.gif]() 
 
- Enter the BDC Model Name and click on Ok.
 
 ![ExDepBDC5.gif]() 
 
- You will be getting the following dialog 
	box
 
 ![ExDepBDC6.gif]() 
 
- Save the file.
 
 ![ExDepBDC7.gif]() 
 
Deploy the BDC model as a feature using 
Visual Studio 2010:
- Open Visual Studio 2010.
- Go to File => New => Project.
- Select Business Data Connectivity Model 
	from the installed templates. 
 
 ![ExDepBDC8.gif]() 
 
- Enter the Name and click on Ok.
- Enter the site URL for debugging and click 
	on Finish.
 
 ![ExDepBDC9.gif]() 
 
- By default the solution would have created 
	BDCModel1 as shown in the following
 
 ![ExDepBDC10.gif]() 
 
- Right click on BDCModel1 and click on 
	delete.
- Right click on the solution, click on Add 
	=> Existing item => Add the BDC model that we have exported and saved it on 
	the local machine.
 
 ![ExDepBDC11.gif]() 
 
- "Add .Net assembly LobSystem" wizard will 
	pop up, select No and click on Ok.
 
 ![ExDepBDC12.gif]() 
 
- Entire solution looks like the following.
 
 ![ExDepBDC13.gif]() 
 
- Ensure whether the scope of the feature is 
	at Farm level.
 
 ![ExDepBDC14.gif]() 
 
- Right click on the solution and click on 
	Deploy.
 
 ![ExDepBDC15.gif]() 
 
- Go to Central Administration => System 
	Settings =>Farm Management =>Manage Farm Features.
 
 ![ExDepBDC16.gif]() 
 
- Go to Central Administration => 
	Application Management => Manage Service Applications => Business 
	Connectivity Service Application> you could be able to see the external 
	content type deployed.
 
 ![ExDepBDC17.gif]()