EntityType missing

Posts   
 
    
carlor
User
Posts: 34
Joined: 12-Jan-2005
# Posted on: 12-Jan-2005 21:22:06   

Hi there,

I'm new to LLBLGen and I'm in the learning phase. I've created a project with tables that works. However, I'm trying to create a project that only contains stored procedures and the generated code won't compile.

My configuration:

  • Oracle 8i/9i Driver (ODP.NET 9.2x)
  • Elements to read from database - stored procedures only

I then add all the stored procedures in the schema.

Build configuration:

  • gen config: two class scenario (full / safe) vs.net 2003 (1.0.2004.1.053104)
  • VB.NET template set for Oracle 8i/9i
  • Select Participating Objects: Stored Procedures only

I then generate the code and when I bring it into VS.NET 2003, I get a compile error in EntityFactories.vb. It complains that "EntityType" is not defined... because it isn't in ConstantEnums.vb

Have mercy on this newbie. Does anyone have any ideas on what the problem might be?

Thanks,

Carlo.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 12-Jan-2005 21:47:45   

I can't reproduce it here, what is the template set version you're using when you're generating the code? This was a known issue which as addressed some time ago.

Frans Bouma | Lead developer LLBLGen Pro
carlor
User
Posts: 34
Joined: 12-Jan-2005
# Posted on: 13-Jan-2005 01:25:31   

Thanks for your quick reply.

I'm using "VB.NET template set for Oraccle 8i/9i (1.0.2004.1.102704)

Carlo.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 13-Jan-2005 09:39:02   

Hmm, it should work with that version. I'll check it out what might be the problem.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 13-Jan-2005 11:54:33   

With the latest templates, an oracle 9i project (doesn't matter really, the entity factories are shared), VB.NET template set, two-class scenario, full/safe -> just stored procedures in the project (no entities, no typed views) -> code compiles.

If you're positive you're on the latest version of LLBLGen Pro, please mail me the .lgp file at: support at llblgen.com

If you've thousands of procs in the project, please try to create a repro case with just a few procs, as that would make the project file smaller simple_smile )

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 19-Jan-2005 15:09:24   

I should have looked into the bugtracker before doing all those tests: bug was fixed on Nov 24th. Please upgrade to the latest version. simple_smile

Bug #103: When selfservicing code is generated and there are just stored procedure calls in the project, the code doesn't compile.

Fixed in the shared templates archive of 24-nov-2004

Frans Bouma | Lead developer LLBLGen Pro