Inheritance problem

Posts   
 
    
mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 12-Jan-2007 22:54:47   

I'm using Adapter 1.0.2005.1

Is there a way that I can figure out the Entity name from a FieldCompareNullPredicate? I can see the FieldCore, but that won't work if the Entity is inherited and the field "belongs" to the supertype....

disappointed

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 14-Jan-2007 09:35:19   

Not at the moment, we need this architectural change in v2.1 to fix a known rare issue so in v2.1 it will be possible, though if you just have the compare null predicate, it's not possible.

Frans Bouma | Lead developer LLBLGen Pro
mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 15-Jan-2007 19:13:58   

Otis wrote:

Not at the moment, we need this architectural change in v2.1 to fix a known rare issue so in v2.1 it will be possible, though if you just have the compare null predicate, it's not possible.

Out of curiosity, why is the fieldcore owned by the supertype (ContainingObjectName)? Isn't it a field of the subtype? I sort of understand that this may because it is defined in the supertype and inherited...but isn't the real "ContainingObjectName" of the data field the subtype?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 16-Jan-2007 08:08:41   

mikeg22 wrote:

Otis wrote:

Not at the moment, we need this architectural change in v2.1 to fix a known rare issue so in v2.1 it will be possible, though if you just have the compare null predicate, it's not possible.

Out of curiosity, why is the fieldcore owned by the supertype (ContainingObjectName)? Isn't it a field of the subtype? I sort of understand that this may because it is defined in the supertype and inherited...but isn't the real "ContainingObjectName" of the data field the subtype?

Because using the containingobjectname, the entities are determined in the hierarchy of the current instance. LLBLGen Pro doesnt use a central repository in which this data is stored, it uses a disconnected architecture.

Frans Bouma | Lead developer LLBLGen Pro