Compile error

Posts   
 
    
Posts: 1
Joined: 22-May-2006
# Posted on: 22-May-2006 22:06:23   

After generating the entities, I have tries to compile the code and it threw an error on EntityClass at this method

public bool TestOriginalFieldValueForNull(ClientHoldHistFieldIndex fieldIndex) { return base.Fields[(int)fieldIndex].IsNull; }

saying that

EntityClasses\ClientHoldHistEntity.cs(381): The type or namespace name 'ClientHoldHistFieldIndex' could not be found (are you missing a using directive or an assembly reference?)

what would it couse this problem?

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 23-May-2006 03:14:50   

Did you change the name of the ClientHoldHistEntity since your last generation of the code?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 23-May-2006 09:51:56   

Check if ConstantEnums.cs is re-generated. It might be that file was readonly and it's not upgraded.

Frans Bouma | Lead developer LLBLGen Pro