Error while migrating to latest LLBLGen Version

Posts   
 
    
Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 06-Feb-2007 22:20:59   

HI,

i was using LLBLGer Pro olderversion and just shifted to latest version 2.0.0.0.Final. i ahve downloaded it today only. i regenerated the code and replaced following Runtime libraries

SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll

when i compiled the code i ended up facing following 2 errors..

Error 22 Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments

Error 23 Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments

am i doing anything wrong? thanx for your help in advance

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 06-Feb-2007 22:31:01   

Ammit wrote:

HI,

i was using LLBLGer Pro olderversion and just shifted to latest version 2.0.0.0.Final. i ahve downloaded it today only. i regenerated the code and replaced following Runtime libraries

SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll

when i compiled the code i ended up facing following 2 errors..

Error 22 Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments

Error 23 Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments

am i doing anything wrong? thanx for your help in advance

i forgot to add following things

while generating code i went to template section and selected first option i.e. Backward Compibility option... as i was previously running Version - 1.0.2004.2

Ammit
User
Posts: 59
Joined: 19-May-2006
# Posted on: 06-Feb-2007 23:17:50   

Ammit wrote:

Ammit wrote:

HI,

i was using LLBLGer Pro olderversion and just shifted to latest version 2.0.0.0.Final. i ahve downloaded it today only. i regenerated the code and replaced following Runtime libraries

SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll

when i compiled the code i ended up facing following 2 errors..

Error 22 Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments

Error 23 Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments

am i doing anything wrong? thanx for your help in advance

OOops...my mistake .. it is in the cutrom code region..its mine.. i got it knocked out .... but stillif you can give me some giudance on how to migrate from older version to latest one... specially if i have such custom code region??

i forgot to add following things

while generating code i went to template section and selected first option i.e. Backward Compibility option... as i was previously running Version - 1.0.2004.2

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 07-Feb-2007 02:21:11   

Definately read the Migrate your code section of the manual.

This may apply to your situation.

Two class scenario (now called 'TwoClasses'): there's no longer a Full/Safe mode: all derived entity class files are overwritten each time the code is being generated. If you've code placed in these derived classes and it's placed outside user code regions, you should place the code in the user-code regions generated into the derived entity classes. You can switch on the feature to not overwrite existing derived entity classes in the preset of choice: select the task which generates the derived entity classes and in the parameter window, at the bottom specify 'true' for failWhenExistent. This isn't recommended however. It's best to migrate the code to either using usercode regions or partial classes (.NET 2.0).