LLBL 2.6 & framework 4.5

Posts   
 
    
dsintra
User
Posts: 2
Joined: 13-Jun-2017
# Posted on: 13-Jun-2017 12:32:21   

Hi All, I have an old project based on LLBLGen 2.6 with SD.TemplateBindings.SqlServerSpecific.NET20 template.

1)There is any way to add Framework 4.5 support for output generated code? 2)If not, upgrading to 5.2, allow to use same template?

I'm looking for a solution that allow me to upgrade framework version without rewriting data access.

Thanks!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 13-Jun-2017 17:37:38   

you can use the generated code of v2.6 on .net 4.5 (but no async of course), simply change the .net version in the vs projects inside visual studio. It's of course better to upgrade as you'll then get a much faster runtime, async / await support and support for the latest databases, among other new features.

Frans Bouma | Lead developer LLBLGen Pro
dsintra
User
Posts: 2
Joined: 13-Jun-2017
# Posted on: 10-Jul-2017 12:37:34   

Hi Otis, Thanks for answer.

But what about DLLs referenced by project ? (I mean the runtime libraries SD.LLBLGen.Pro.ORMSupportClasses.dll , SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll, that are for framework 2.0 or 3.5 )

Can I keep these reference after changing .net version? Or can I find somewhere? just searched on nuget, but older version for 4.5 seems not compatible.

And what about upgrading LLBL:

This is the best solution also for me, but if there are relevant changes on template we will need to refactor the entire solution (very huge). There is come compatible template whit the 2.6 one? Of course, I expect that all new feature of framework won't be available or optional... but this may allow us to do a progressive refactoring of code.

Thank you

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 10-Jul-2017 15:47:32   

dsintra wrote:

Hi Otis, Thanks for answer.

But what about DLLs referenced by project ? (I mean the runtime libraries SD.LLBLGen.Pro.ORMSupportClasses.dll , SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll, that are for framework 2.0 or 3.5 )

Can I keep these reference after changing .net version? Or can I find somewhere? just searched on nuget, but older version for 4.5 seems not compatible.

you can keep the references. Old llblgen pro versions aren't on nuget, so you have to reference the ones that ship with the llblgen pro installer.

And what about upgrading LLBL:

This is the best solution also for me, but if there are relevant changes on template we will need to refactor the entire solution (very huge). There is come compatible template whit the 2.6 one? Of course, I expect that all new feature of framework won't be available or optional... but this may allow us to do a progressive refactoring of code.

Thank you

The changes made since v2.5 are in the documentation, see Migrating your code, start at the section 2.5->2.6: http://www.llblgen.com/documentation/5.2/LLBLGen%20Pro%20RTF/migratingcode.htm#migrating-generated-code-from-v2.5-to-v2.6

Frans Bouma | Lead developer LLBLGen Pro