Entity not generated with correct constrcutor

Posts   
 
    
llblstc
User
Posts: 19
Joined: 06-Jul-2009
# Posted on: 15-Jul-2009 14:17:17   

Hi, I have some old code using selfservicing with an old version of LLBL

"Code is generated using LLBLGen Pro version: 1.0.2005.1"

I have a problem with only one entity (among many others) that hasn't got a constructor with the database primary keys.

The funny thing is, that the base entity has the contructor.

Is this a bug in LLBL?

this class:

public class IW_BANK_EXPECTED_YEARLY_YIELDEntity : IW_BANK_EXPECTED_YEARLY_YIELDEntityBase

.. is missing the contructor which is present in the base class:

public IW_BANK_EXPECTED_YEARLY_YIELDEntityBase(System.String rEGNO, System.String rEGNO_SUB, System.Int64 cOREID)

??

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 15-Jul-2009 15:09:59   

It might be that you are using an outdated templates, would you please make sure you are using the latest package of v.1.0.2005.1.

Also it might be that you are experiencing something like in this thread: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=9494