the code migration from 1.1 to .net 2.0

Posts   
 
    
RobertX
User
Posts: 2
Joined: 05-May-2008
# Posted on: 05-May-2008 18:14:21   

Recently, I got a chance to migrate my project from vs2003 to vs2005, I got some trouble when I tried to upgrade my llblgen data assembly from .net 1.1. to .net 2.0 assembly.

The problem is I was using the EntityCollectionBase2 in the old project, but I found it's not supported under the .net 2.0 because it's changed to a generic class.

Is this TRUE? If it's this, that means I can not upgrade this assembly to .net 2.0 which is VERY sad for me.....confused confused confused

Can anyone help me at this point?

goose avatar
goose
User
Posts: 392
Joined: 06-Aug-2007
# Posted on: 05-May-2008 19:45:35   

try using IEntityCollection2 instead.

RobertX
User
Posts: 2
Joined: 05-May-2008
# Posted on: 05-May-2008 19:52:25   

goose wrote:

try using IEntityCollection2 instead.

Is this the only way to play around it? If it is, then that means I can not upgrade the project.rage

goose avatar
goose
User
Posts: 392
Joined: 06-Aug-2007
# Posted on: 05-May-2008 21:17:48   

see this similar thread:

http://llblgen.com/TinyForum/Messages.aspx?ThreadID=7847

there's also a Migrating your code section in the official documentation, migrating your code is very straightforward for the majority of cases, let us know if you hit a wall.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 06-May-2008 10:39:11   

Change code using ENtityCollectionBase2 to IEntityCollection2 simple_smile You then can keep on using the same code and have all the features at hand.

Frans Bouma | Lead developer LLBLGen Pro