Llblgen Pro Framework minor bug

Posts   
 
    
raist
User
Posts: 114
Joined: 19-Apr-2010
# Posted on: 11-Apr-2012 16:21:02   

Version 3.5 Final. March 30th, 2012 .Net 4.0 32 bits on Win XP SP 3

On TypedView generated code when: - Is mapped to a RetrievalProcedure - AND has no arguments

In the generated code for Fill, the RetrievalProcedure call has a last ',' giving error:

Example for Northwind:

// Generated with bug
public bool Fill(ITransaction transactionToUse)
{
  return RetrievalProcedures.FetchTenMostExpensiveProductsTypedView(transactionToUse,  GetFields(), this, );
}

// Bug fixed. Remove the comma after 'this' argument
public bool Fill(ITransaction transactionToUse)
{
  return RetrievalProcedures.FetchTenMostExpensiveProductsTypedView(transactionToUse,  GetFields(), this);
}
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 12-Apr-2012 10:48:17   

We'll look into it.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 12-Apr-2012 12:25:51   

Fixed in next build. We released a new build yesterday, but will release one again today.

Frans Bouma | Lead developer LLBLGen Pro