Upgrade from LLBLGen oct 2006 to March 21 2007 gives error in generated code.

Posts   
 
    
jvdboom
User
Posts: 28
Joined: 22-May-2007
# Posted on: 23-May-2007 09:36:06   

The message i get is: "Error 1 Using the generic type 'SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase<TEntity>' requires '1' type arguments "

The class looks like:

namespace RM.DAL.CollectionClasses {

// __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces
// __LLBLGENPRO_USER_CODE_REGION_END

/// <summary>Collection class for storing and retrieving collections of SectorEntity objects. </summary>
[Serializable]
public partial class SectorCollection : **EntityCollectionBase**
{
    /// <summary> CTor</summary>
    public SectorCollection():base(new PropertyDescriptorFactory(), typeof(SectorCollection), new SectorEntityFactory(), null)
    {
    }

    /// <summary> CTor</summary>

....

The EntityCollectionBase causes the error.

Is this a know issue?

Thanx....

Jos

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 23-May-2007 09:44:10   

Are you generating code for .NET 1.1 or 2.0? Are you referncing the correct LLBLGen Pro runtime library dlls?

Please check the following threads: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=6931 http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7104

jvdboom
User
Posts: 28
Joined: 22-May-2007
# Posted on: 23-May-2007 10:37:43   

Thanx for the quick answers.

I already checked out you're URL's but i'm not that good.

So i placed the project on a new location and i added the GUI project to it and now it works. Probably, as you said, a bad reference...

So case closed i guess.... smile