A project item to generate a strongly-typed ObjectContext class and persistence ignorant entity classes. Use this template when working with an EF 4.x release.
I was looking for an answer to the same question. There is a tiny bit of infomration here: http://blogs.msdn.com/b/adonet/archive/2010/02/18/entity-framework-poco-template-updated-for-visual-studio-2010-release-candidate.aspx Crucially though, for ASP.NET MVC website sites, it indicates to use the NON website verion!
Hi Diego, The only one that seems to be available is the 'ADO.NET C# POCO Entity Generator'. The 'ADO.NET C# Web Site POCO Entity Generator' is not available. I can download it and install from here but it doesn't show in VS 2010 either in the Installed Templates or Online Templates.
Thanks,
Phil
Hi Diego - is there a version that automatically adds DataAnnotations based on the database's metadata? eg not null becomes a [Required] annotation, nvarchar(25) becomes a [StringLength(25)] annotation?
Thanks!
The edxml designer supports documentation for entities and properties (which would generate the <summary/> XML comment).
Any chances to transport the documentation from the edxml to the generated classes?