.NET 4.5 / Entity Framework v5 support now available

Posts   
 
    
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39625
Joined: 17-Aug-2003
# Posted on: 13-Sep-2012 13:59:11   

The LLBLGen Pro v3.5 build (of september 13th, 2012), which is now available, contains .net 4.5 / EF 5 support. Your current projects will continue to work, nothing has changed in that area, it's an addition of features. .NET 4.5 is supported across all supported o/r mapper frameworks.

The new features supported for EF5 are Enums and Spatial types (for SQL Server and database first development).

One change we made might affect you though: We updated the code generator a bit to re-use the VS.NET 2010 project templates. We added a new token for VS.NET templates: <[Platform]> which will be replaced in VS.NET 2010 project templates with 4.0 or 4.5, depending on the platform chosen when generating code. Normally you won't notice this change, but if you use custom VS.NET 2010 project templates and you want to use this feature, you have to check a diff with the new templates in the build.

Existing vs.net project files are never updated, and neither are they updated this time. So if you have an existing project using .net 4, generating the code for .net 4.5 won't make the target framework version become updated. You have to do this inside VS.NET 2012. This is similar to when you upgrade your VS.NET 2008 / .NET 3.5 project and select .NET 4: your vs.net project file isn't updated.

We hope the changes/additions are not breaking any code (we couldn't find any breaking changes). For non-entity framework users, nothing has been added other than that you can now choose .net 4.5 as target framework and get .NET 4.5 as the target platform in the vs.net project files.

Frans Bouma | Lead developer LLBLGen Pro