Have to re-generate all code when upgrade?

Posts   
 
    
Eileen
User
Posts: 2
Joined: 19-Apr-2011
# Posted on: 03-May-2011 07:40:48   

Hi I encounter a problem when upgrade v2.6 to v3.1: Is it a neccessary to re-generate all code (Adapter etc) when upgrade the tool to v2.6 to 3.1? Is it possible a project using the dlls of v3.1 to references the Adapter which is generated under v2.6? If not, what should I deal with the custom code I've written in the Adapter (such as CustomProperties)? Do I need to re-write them again?

Thanks & Best Regards, Eileen

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-May-2011 08:22:14   

Hi Eileen,

Your custom code is kept, don't worry... but make some backups just in case.
You can't only change the assemblies. You have to migrate your LLBLGen project (there are migration templates) and then regenerate code (there are changes in the templates).

Please check the Migrating your code's documentation section to know what had been changed in v3.x.

The migration is not that hard, but it's needed. Please let us know if you have further questions about this.

David Elizondo | LLBLGen Support Team
Eileen
User
Posts: 2
Joined: 19-Apr-2011
# Posted on: 03-May-2011 10:09:38   

Hi daelmo, Thank you for such a prompt response to my problem. Currently I have no further questions and now I starting to migrate my code and upgrade the tool to v2.6 to v3.1 for my projects. I'll ask you for help if I encounter any troubles.

Best Regards, eileen