Problem with table Named NewsEntity

Posts   
 
    
pkellner avatar
pkellner
User
Posts: 19
Joined: 23-Aug-2009
# Posted on: 25-Aug-2009 00:37:18   

I've got a tabled named NewsEntity and a table named News.

I see why that may have been a bad choice, but I'm way beyond that now. Is there a way to get around this without renaming my table?

Error 1 'TagEntity': member names cannot be the same as their enclosing type F:\MyDocuments\VSProjects\3plogic\data\ThreePLogicAccessLLBL\DatabaseGeneric\EntityClasses\TagEntity.cs 609 52 ThreePLogic.Data.ThreePLogicAccessLLBL

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 25-Aug-2009 04:33:25   

Hi Peter,

The table's names are not the problem. It might be that you have a column with the same name of its table. Check this: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=13864

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39861
Joined: 17-Aug-2003
# Posted on: 25-Aug-2009 09:36:58   

In any case, you can rename everything in an entity and the entity itself in the designer if you want wink

Frans Bouma | Lead developer LLBLGen Pro