Visual Studio 2010/.NET 4 released today on MSDN for subscribers so we can now start playing.
It is too soon for screenshots but here are some awesome things to look for in Beta 2 after poking around for a bit.
1) Foreign Keys are now the default for new models. You’ll see the foreign key checkbox is ON by default when you reverse engineer a model from the database.
2) Lazy Loading is on by default with new models. In the CSDL’s XML, there is an attribute on the EntityContainer of new models to set lazy loading enabled by default. The default code generator reads this and injects ContextOptions.LazyLoadingEnabled=true into the container class. You'll need to add this attribute to old models that you bring into Beta2 if you want to have the lazy loading on by default.
3) HIP HIP HOORAY! The function import wizard will read your stored procedures and create complex types from them. Then you can map your stored procs to the complex types. I dream of a batch processor for this one.
4) A new event for ObjectContext: ObjectMaterialized. This will get hit just after the new object's properties and relationships have been populated from the query results. This can be very useful.
Although I’m really looking forward to the Vermont.NET meeting tonight, I’m a little sad that I can’t stay home and keep playing with the bits.



