ObjectID

Posts   
 
    
BringerOD
User
Posts: 70
Joined: 15-Jul-2006
# Posted on: 16-Jul-2006 02:39:08   

I have a data variable that is called ObjectID. It looks like the EntityBase has one as well.

Its an existing system and its in almost every table?

Any suggestions?

property 'ObjectId' shadows an overridable method in the base class 'EntityBase'. To override the base method, this method must be declared 'Overrides'.

confused

Posts: 1255
Joined: 10-Mar-2006
# Posted on: 16-Jul-2006 03:28:20   

In the gui designer, just rename that field - use that renamed field in your code.

BringerOD
User
Posts: 70
Joined: 15-Jul-2006
# Posted on: 16-Jul-2006 04:45:01   

I have about 20 tables, its in all of them. I was going to do that. But its so ingrained into my application. rage

WayneBrantley wrote:

In the gui designer, just rename that field - use that renamed field in your code.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 16-Jul-2006 10:28:58   

That's indeed unfortunate... disappointed

With every class library you have to live with properties which you can't use in your own code, and sadly this is one of them.

Frans Bouma | Lead developer LLBLGen Pro
BringerOD
User
Posts: 70
Joined: 15-Jul-2006
# Posted on: 16-Jul-2006 17:54:02   

Well if I have to say so myself. The name you chose was genuis. simple_smile

Otis wrote:

That's indeed unfortunate... disappointed

With every class library you have to live with properties which you can't use in your own code, and sadly this is one of them.