EF4 CodeOnly feature demo (CSEFCodeOnly)

This example illustrates how to use the new feature Code Only in the ADO.NET Entity Framework 4.0 to use create the Entity Data Model metadata and the corresponding .edmx file with POCO entity classes and ObjectContext class at runtime.

C# (50.3 KB)
 
 
 
 
 
2.5 Star
(2)
11,332 times
Add to favorites
5/5/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}") = "CSEFCodeOnly", "CSEFCodeOnly\CSEFCodeOnly.csproj", "{552E9FF0-6D6E-487B-BA7B-A36495BC7A0C}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{552E9FF0-6D6E-487B-BA7B-A36495BC7A0C}.Debug|x86.ActiveCfg = Debug|x86
		{552E9FF0-6D6E-487B-BA7B-A36495BC7A0C}.Debug|x86.Build.0 = Debug|x86
		{552E9FF0-6D6E-487B-BA7B-A36495BC7A0C}.Release|x86.ActiveCfg = Release|x86
		{552E9FF0-6D6E-487B-BA7B-A36495BC7A0C}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal