[SOLVED] IsNew hides inherited member

Posts   
 
    
Gareth
User
Posts: 24
Joined: 09-Apr-2004
# Posted on: 19-Jun-2004 16:53:32   

C:\Inetpub\wwwroot\EvolutionInternet\ContentManagementSystem\Data\EntityBaseClasses\ KnowledgeBaseItemRatingEntityBase.cs(925): 'EvolutionInternet.ContentManagementSystem.Data.EntityClasses.KnowledgeBaseItemRatingEntityBase.IsNew' hides inherited member 'SD.LLBLGen.Pro.ORMSupportClasses.EntityBase.IsNew'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

This is not stopping the project compiling but is throwing a warning, any ideas? It actually happens for two of the classes!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 19-Jun-2004 17:22:08   

Did you by any chance have a field in your entity called 'IsNew' ? If so, the generated property for that field indeed hides the IsNew property of the EntityBase class in the ORM support classes.

I've to check if that property is now not usable in the runtime libs, but I don't think it affects that.

Edit: should work ok.

Frans Bouma | Lead developer LLBLGen Pro
Gareth
User
Posts: 24
Joined: 09-Apr-2004
# Posted on: 21-Jun-2004 11:49:55   

Yep, that's what it was. It didn't even cross my mind : ) Thanks.