Entity Constructors

Posts   
 
    
pilotboba
User
Posts: 434
Joined: 05-Aug-2005
# Posted on: 13-Sep-2005 23:41:19   

It would be nice if the entity constructors were put into a code region.

BOb

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 14-Sep-2005 09:23:46   

Could you explain why exactly this is better?

Frans Bouma | Lead developer LLBLGen Pro
BertS
User
Posts: 89
Joined: 28-Jul-2005
# Posted on: 14-Sep-2005 09:44:29   

I agree with Bob, I've changed it myself (in the EntityUsingEntityBase_classes).

It's better, because I've nothing to do in that code, and in a region we can hide it simple_smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 14-Sep-2005 10:41:52   

BertS wrote:

I agree with Bob, I've changed it myself (in the EntityUsingEntityBase_classes).

It's better, because I've nothing to do in that code, and in a region we can hide it simple_smile

Isn't in then better to simply hide all the code which isn't updateable in a region?

Frans Bouma | Lead developer LLBLGen Pro
pilotboba
User
Posts: 434
Joined: 05-Aug-2005
# Posted on: 14-Sep-2005 15:51:01   

Otis wrote:

BertS wrote:

I agree with Bob, I've changed it myself (in the EntityUsingEntityBase_classes).

It's better, because I've nothing to do in that code, and in a region we can hide it simple_smile

Isn't in then better to simply hide all the code which isn't updateable in a region?

Let me be more clear. In the self-servicing two class scenerio the Entity classes constructors are not in ANY region. So, the code can not be collapased and hidden.

BOb

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 14-Sep-2005 16:57:24   

pilotboba wrote:

Otis wrote:

BertS wrote:

I agree with Bob, I've changed it myself (in the EntityUsingEntityBase_classes).

It's better, because I've nothing to do in that code, and in a region we can hide it simple_smile

Isn't in then better to simply hide all the code which isn't updateable in a region?

Let me be more clear. In the self-servicing two class scenerio the Entity classes constructors are not in ANY region. So, the code can not be collapased and hidden.

BOb

I assume you're talking about the derived classes? (as in the entitybase classes, a lot of code isn't in a region as well). I've added the regions to the 1.0.2005.1 code simple_smile

Frans Bouma | Lead developer LLBLGen Pro
pilotboba
User
Posts: 434
Joined: 05-Aug-2005
# Posted on: 14-Sep-2005 17:22:43   

Otis wrote:

I assume you're talking about the derived classes? (as in the entitybase classes, a lot of code isn't in a region as well). I've added the regions to the 1.0.2005.1 code simple_smile

Yes, the derived classes. I don't much care about the Base/Parent classes cause I don't work in them, and if I want to look at them I want to see the genned code.

Thanks...

BOb