Creating SharePoint 2010 external content types programmatically

In this code sample I provide an extension to the standard SharePoint Business Conectivity Services admin API that helps to create external content types and the related external lists using client side APIs. A console application is used to illustrate the usage of the extension.

C# (40.6 KB)
 
 
 
 
 
3.8 Star
(4)
2,178 times
Add to favorites
3/10/2011
E-mail Twitter del.icio.us Digg Facebook

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BCSModelGeneration", "BCSModelGeneration\BCSModelGeneration.csproj", "{6ECC5E7C-CFAC-4321-8554-585515056D7B}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{6ECC5E7C-CFAC-4321-8554-585515056D7B}.Debug|x86.ActiveCfg = Debug|x86
		{6ECC5E7C-CFAC-4321-8554-585515056D7B}.Debug|x86.Build.0 = Debug|x86
		{6ECC5E7C-CFAC-4321-8554-585515056D7B}.Release|x86.ActiveCfg = Release|x86
		{6ECC5E7C-CFAC-4321-8554-585515056D7B}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal