Entity Framework POCO Template for .NET 3.5
Posted
on Dot net Slackers
See other posts from Dot net Slackers
Published on Sat, 20 Mar 2010 00:00:00 GMT
Indexed on
2010/03/20
16:51 UTC
Read the original article
Hit count: 741
Filed under:
If you are using Visual Studio 2010 and targeting .NET 3.5, you can still use the new T4 POCO template generation. I discovered this accidentally. (How else?)
When you attempt to add a new code generation item from the model, there will be no templates available:
But if you click on Online Templates, there is an ADO.NET POCO Generator created by Microsoft:
And it does the job as expected!
Nice!...
Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
© Dot net Slackers or respective owner