Renaming entities & <entity>FieldIndex types

Posts   
 
    
mario.muja avatar
mario.muja
User
Posts: 37
Joined: 03-May-2005
# Posted on: 25-Feb-2006 09:18:28   

I have done the following:

  1. generated code for the Northwind database using the Adapter template to an empty folder.
  2. renamed the Orders and Employees entities in the designer to Order resp. Employee
  3. generated again over the already existing code from the previous generation

When compiling the code, I receive errors telling me that it cannot find the types <old entity name>FieldIndex used as parameters for the methods TestOriginalFieldValueForNull and TestCurrentFieldValueForNull.

Why did LLBLGen not update the type names for these method parameters during the second generation?

mario.muja avatar
mario.muja
User
Posts: 37
Joined: 03-May-2005
# Posted on: 25-Feb-2006 16:38:30   

I have solved this issue. Seems it was a reference to an old version of the assembly.