Returns the grand parent of this object. This is usually the object that contains the collection that this object is contained with in. For example, a GrandParent object of an InvoiceDetail would be an Invoice.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected internal DatabaseObject GrandParent { get; }
Visual Basic
Protected Friend ReadOnly Property GrandParent As DatabaseObject
	Get
Visual C++
protected public:
property DatabaseObject^ GrandParent {
	DatabaseObject^ get ();
}

Exceptions

ExceptionCondition
System..::..InvalidCastException Throws an exception if the grand parent object is not of type DatabaseObject and has only implemented IDatabaseObject.

See Also