this.Parent

this.Parent

Old forum URL: forums.lhotka.net/forums/t/6120.aspx


jureleskovec posted on Sunday, January 11, 2009

Hi!

I can get the reference of the parent/root object via the 'Parent' property in the 'BusinessBase<T>' objects.
Why is there no such property for business list objects? How do I get the reference of the parent in a business list?

-- Jure

sergeyb replied on Sunday, January 11, 2009

Depends on what version you are using.  3.6 has this property in BLB, I think 3.5 did as well.

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: jureleskovec [mailto:cslanet@lhotka.net]
Sent: Sunday, January 11, 2009 2:41 PM
To: Sergey Barskiy
Subject: [CSLA .NET] this.Parent

 

Hi!

I can get the reference of the parent/root object via the 'Parent' property in the 'BusinessBase<T>' objects.
Why is there no such property for business list objects? How do I get the reference of the parent in a business list?

-- Jure


jureleskovec replied on Tuesday, January 13, 2009

Thanks, now I found it. I didn't see it because it is declared as protected.

 

-- Jure

Copyright (c) Marimer LLC